-
Notifications
You must be signed in to change notification settings - Fork 67
Feature/OIDC #145
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
Merged
Merged
Feature/OIDC #145
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
d0c3e9b
OIDC Auth added
RenaudLN 604c45d
several IDP
RenaudLN fcd9047
rename registry_name -> idp_name
RenaudLN caf22aa
simplify mock
RenaudLN b9f5ed8
linting
RenaudLN 838710e
add dev authlib dependency
RenaudLN 921001f
use List[] rather than list[] for py38 compat
RenaudLN 1488f94
rm vscode settings
RenaudLN a600a64
Improve docstring of register_provider
RenaudLN 6bc9dec
Separated group protection from OAuth
RenaudLN efc1594
rm vscode settings
RenaudLN 30cc0bf
Use path parts
RenaudLN 2a57226
Updated Readme
RenaudLN 4fcb8b4
implemented suggestion
RenaudLN 74d0953
More comments addressed
RenaudLN 51e44c5
Ensure only the first instance of host is replaced by forwarded host
RenaudLN 293e434
lint
RenaudLN 3b46964
Add secure_session argument
RenaudLN 7ee7fb3
rm superfluous 200
RenaudLN c53e048
fix get_oauth
RenaudLN 72f78e5
improved error message
RenaudLN eb08dc9
Merge branch 'main' into feature/oidc
RenaudLN 6a24740
rm deprcated methods
RenaudLN 19c1ecf
bump browser-tools
RenaudLN 739b27c
Addressed comments
RenaudLN 8326aac
Merge branch 'main' into feature/oidc
RenaudLN 9792716
Add lost `return False`
RenaudLN 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 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 |
|---|---|---|
| @@ -1,6 +1,25 @@ | ||
| from .public_routes import add_public_routes, public_callback | ||
| from .basic_auth import BasicAuth | ||
| from .group_protection import ( | ||
| list_groups, check_groups, protected, protected_callback | ||
| ) | ||
| # oidc auth requires authlib, install with `pip install dash-auth[oidc]` | ||
| try: | ||
| from .oidc_auth import OIDCAuth, get_oauth | ||
| except ModuleNotFoundError: | ||
| pass | ||
| from .version import __version__ | ||
|
|
||
|
|
||
| __all__ = ["add_public_routes", "public_callback", "BasicAuth", "__version__"] | ||
| __all__ = [ | ||
| "add_public_routes", | ||
| "check_groups", | ||
| "list_groups", | ||
| "get_oauth", | ||
| "protected", | ||
| "protected_callback", | ||
| "public_callback", | ||
| "BasicAuth", | ||
| "OIDCAuth", | ||
| "__version__", | ||
| ] |
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.