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

Implement OIDC flow that results in a query sent to the f-API including access and ID tokens #197

Closed
5 of 6 tasks
Tracked by #155
alyssadai opened this issue Jul 5, 2024 · 1 comment · Fixed by #205
Closed
5 of 6 tasks
Tracked by #155
Assignees
Labels
released This issue/pull request has been released.

Comments

@alyssadai
Copy link
Contributor

alyssadai commented Jul 5, 2024

(this assumes the implicit OAuth2 scheme)

  • Query tool will redirect user to authenticate using IdP
  • Query tool should get back a code from IdP (via a redirect URL)
  • Query tool provides code back to IdP to get an access token and ID token in exchange
    - [ ] Query tool needs to verify received ID token's validity using IdP's public keys (existing JWT libraries have functionality to do this)
  • (Maybe) Query tool can then exchange access token for user profile pic from identity resource API
    • or, alternatively, query tool just displays the IdP user ID directly
  • Query tool now displays the user profile pic from IdP, and can also display the name (taken from the ID token probably)
  • When user submits a query, query tool sends a request to f-API, along with the ID & access tokens

Questions

@alyssadai alyssadai transferred this issue from neurobagel/planning Jul 5, 2024
@alyssadai alyssadai assigned alyssadai and rmanaem and unassigned alyssadai Jul 5, 2024
@rmanaem rmanaem moved this to Implement - Active in Neurobagel Jul 5, 2024
@surchs surchs moved this from Implement - Active to Review - Active in Neurobagel Jul 14, 2024
@github-project-automation github-project-automation bot moved this from Review - Active to Review - Done in Neurobagel Jul 14, 2024
Copy link
Contributor

neurobagel-bot bot commented Aug 2, 2024

🚀 Issue was released in v0.3.0 🚀

@neurobagel-bot neurobagel-bot bot added the released This issue/pull request has been released. label Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released.
Projects
Archived in project
2 participants