-
Notifications
You must be signed in to change notification settings - Fork 71
First restructuring pass for auth section #1149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
e6636e0
Remove 20.04 from supported OS (#1112)
genericdata 72237fa
Merge branch 'latest' into develop
osc-bot f21dc32
Merge branch 'latest' into develop
osc-bot 442b5cf
Merge branch 'latest' into develop
osc-bot 7b7f9a6
Merge branch 'latest' into develop
osc-bot 6283215
Merge branch 'latest' into develop
osc-bot 0e1324f
Merge branch 'latest' into develop
osc-bot 5b295b7
Merge branch 'latest' into develop
osc-bot b381a5c
Merge branch 'latest' into develop
osc-bot af1246b
Merge branch 'latest' into develop
osc-bot 7afca35
Merge branch 'latest' into develop
osc-bot c0ccabe
Merge branch 'latest' into develop
osc-bot 51f9b4b
Merge branch 'latest' into develop
osc-bot cb01522
Merge branch 'latest' into develop
osc-bot 54d0d5a
Merge branch 'latest' into develop
osc-bot 7cf8c88
Document the need to import GPG key (#1137)
treydock 380ded5
Add popup_title to path_selector (#1143)
genericdata 2ae8c42
First restructuring pass for auth section
Oglopf 412c668
major movement of some data and toc for authentication for clarity an…
Oglopf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
.. _authentication-insecure: | ||
|
||
Other Insecure Options | ||
====================== | ||
Insecure Options | ||
================ | ||
.. danger:: | ||
|
||
There are other insecure options that you may find Apache supports. | ||
**Never** allow a production Open OnDemand installation to accept | ||
credentials over unencrypted connections. | ||
|
||
It's left to the reader to try those out. Open OnDemand developers | ||
highly discourage users attempting to authenticate with Apache's | ||
BASIC auth like PAM and LDAP as they are really quite insecure. | ||
There are other insecure options Apache still ships modules for | ||
such as ``mod_auth_basic``. With Basic auth, the user’s password is | ||
Base-64-encoded and sent on *every* HTTP request, so even behind TLS the | ||
credential is exposed far more often than with modern single-sign-on | ||
solutions. | ||
|
||
For these reasons, Open OnDemand strongly discourages enabling Basic auth, | ||
even when it is backed by PAM, LDAP, or any other password store. | ||
|
||
Questions on these topics will be linked back to this page. |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Authentication Solutions | ||
======================== | ||
|
||
After reading how Apache modules work with OOD and setting up the user map, | ||
Open OnDemand can then be integrated with your center's authentication solution | ||
by following one of the tutorials below. | ||
|
||
.. note:: | ||
|
||
If you managed to install an Apache authentication module at your center | ||
that currently does not have a tutorial listed below we would greatly | ||
appreciate it if you could take the time to contribute a detailed | ||
walk-through. | ||
|
||
.. toctree:: | ||
:maxdepth: 4 | ||
:caption: Known OOD Integrated Solutions | ||
|
||
authentication/oidc | ||
authentication/dex | ||
authentication/shibboleth | ||
authentication/cas | ||
authentication/tutorial-oidc-keycloak-rhel7 | ||
authentication/duo-2fa-with-keycloak | ||
authentication/adfs-with-auth-mellon | ||
authentication/nsf-access | ||
authentication/insecure |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
.. _authentication: | ||
|
||
OOD Authentication | ||
================== | ||
|
||
After installing Open OnDemand you must: | ||
|
||
- **Configure OOD to work with an apache module** which will connect to your center's authentication solution to generate the correct Apache configuration. | ||
- **Setup user mapping** to map the remote authenticated user to the corresponding local system user. | ||
- **Configure logout**. | ||
|
||
Each of these steps is covered in detail below. | ||
|
||
Open OnDemand supports most authentication modules that work with Apache HTTP | ||
Server version 2.4. | ||
|
||
.. tip:: | ||
|
||
:ref:`Dex <authentication-dex>` is a very good starting option if you can connect | ||
to LDAP or Active Directory and not an institutional Single Sign-On service. | ||
|
||
.. warning:: | ||
No Open OnDemand functionality is available without an Apache module and user mapping | ||
configured. When no authentication is supplied Apache will only serve a static page that | ||
directs you to this page. | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
:caption: Setup Authentication Module, User Map, and Logout | ||
|
||
authentication/overview/configure-authentication | ||
authentication/overview/map-user | ||
authentication/overview/configure-logout | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really like that you have titled this OOD Documentation for clearer communication, but the URL needs to stay https://osc.github.io/ood-documentation/latest/authentication.html so that when people are configuring OOD and they get redirected to the documentation, they don't now get a 404 page.
https://github.com/OSC/ondemand/blob/4acd0a2a3ac3cb46787f757005255d1890be10f2/ood-portal-generator/templates/no-auth.conf.erb#L11
Could you keep the title of the section the same but revert back the URL to the original?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe a more clearer way I could could have put it:
The heading and the text can still have "OOD Authentication" but the URL / maybe the file name needs to keep "Authentication"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I believe it's imperative we keep the URL for compatibility with previous versions.
Travis, Emily mentioned to me you might need some help with her suggestion to change the URL back to
authentication.html
fromood-authentication.html
. If that's the case, I can help walk you through the process and why sphinx is throwing errors. Alternatively I'm happy to provide a diff that you can apply or open another PR against this or any other branch.