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 proper support for OAuth refresh tokens #2124

Open
infomiho opened this issue Jun 25, 2024 · 0 comments · May be fixed by #2212
Open

Implement proper support for OAuth refresh tokens #2124

infomiho opened this issue Jun 25, 2024 · 0 comments · May be fixed by #2212
Assignees
Labels

Comments

@infomiho
Copy link
Contributor

We are only giving the users the access token in onAfterSignup auth hook. We plan on introducing login related hooks in #2117

We should also give users the refresh token alongside the access token. We should also then investigate how the refresh token will be used to get the new access token over time (https://arctic.js.org/guides/oauth2, scroll to Refresh access token).

This would most likely mean that the OAuth client instance would need to be available to the users (e.g. google client we use internally should become available via some SDK import).

@infomiho infomiho added the auth label Jun 25, 2024
@infomiho infomiho self-assigned this Jul 24, 2024
@infomiho infomiho linked a pull request Jul 31, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant