Skip to content

Support for OIDC JWT for Authentication#178

Merged
Bento007 merged 1 commit intomasterfrom
tsmith-oidc-jwt-compat
Sep 4, 2018
Merged

Support for OIDC JWT for Authentication#178
Bento007 merged 1 commit intomasterfrom
tsmith-oidc-jwt-compat

Conversation

@Bento007
Copy link
Copy Markdown
Collaborator

@Bento007 Bento007 commented Aug 31, 2018

JWT are now generated and used for authentication with the dss as outlined in https://allspark.dev.data.humancellatlas.org/dcp-ops/docs/wikis/Security/Authentication%20and%20Authorization/Setting%20up%20DCP%20Auth

This and HumanCellAtlas/data-store#1542 are dependent on each other for integration tests to pass. This needs to be merge this after HumanCellAtlas/data-store#1542.

@Bento007 Bento007 requested a review from kislyuk August 31, 2018 06:15
@Bento007 Bento007 force-pushed the tsmith-oidc-jwt-compat branch from 0195736 to 705009e Compare August 31, 2018 06:19
@Bento007 Bento007 force-pushed the tsmith-oidc-jwt-compat branch 2 times, most recently from 2796bab to 788838a Compare September 4, 2018 17:27
* added _get_jwt_from_service_account_credentials
* added manual login tests.
@Bento007 Bento007 force-pushed the tsmith-oidc-jwt-compat branch from 788838a to 536865b Compare September 4, 2018 18:05
@Bento007 Bento007 merged commit c5c8f06 into master Sep 4, 2018
Comment thread hca/util/__init__.py

audience = "https://dev.data.humancellatlas.org/"
iat = time.time()
exp = iat + 3600
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Probably good to parameterize this through a kwarg to this method.

Copy link
Copy Markdown
Collaborator Author

@Bento007 Bento007 Sep 7, 2018

Choose a reason for hiding this comment

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

will fix once we figure out how to store and reuse the token.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@Bento007 Bento007 deleted the tsmith-oidc-jwt-compat branch September 7, 2018 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants