Skip to content
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

Update readme with required packages #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Install bossoidc2:
```sh
pip install mozilla-django-oidc
pip install drf-oidc-auth
pip install django-oidc
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We no longer use this because it's not maintained.


# Replace v2.0.0 with the tag or branch you need.
pip install git+https://github.com/jhuapl-boss/[email protected]#egg=boss-oidc2
Expand Down Expand Up @@ -87,7 +88,7 @@ OIDC_CLAIMS_VERIFICATION = 'preferred_username sub'
# Allow this user to not have an email address during OIDC claims verification.
KEYCLOAK_ADMIN_USER = 'bossadmin'

from bossoidc.settings import *
from bossoidc2.settings import *
configure_oidc(auth_uri, client_id, public_uri, scope) # NOTE: scope is optional and can be left out
```

Expand Down