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

Add /auth/refresh endpoint to trailblazer #59

Closed
seallard opened this issue Mar 5, 2024 · 0 comments · Fixed by Clinical-Genomics/trailblazer#404
Closed

Add /auth/refresh endpoint to trailblazer #59

seallard opened this issue Mar 5, 2024 · 0 comments · Fixed by Clinical-Genomics/trailblazer#404

Comments

@seallard
Copy link
Collaborator

seallard commented Mar 5, 2024

We need this endpoint to refresh the token for the user and allow continuous access during the day.

The endpoint should

  • Validate the user making the request and the token attached
  • Retrieve the refresh token from the user in the database
  • Use the refresh token to retrieve a new access token from google for the user
  • Return the new access token

See example implementation MomenSherif/react-oauth#12 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant