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 reauthorization for Cloud Integrations #3618

Open
axosoft-ramint opened this issue Sep 26, 2024 · 0 comments
Open

Implement reauthorization for Cloud Integrations #3618

axosoft-ramint opened this issue Sep 26, 2024 · 0 comments
Labels
area-integrations Issues or features related to integrations
Milestone

Comments

@axosoft-ramint
Copy link
Contributor

axosoft-ramint commented Sep 26, 2024

We have flows in GitLens for reauthorizing a token (for example, notification of 'your token is invalid or expired. Would you like to try reauthenticating?'). When using cloud integrations, this currently just opens the /connect flow and doesn't change anything about the token.

To fully reauth, the client should:

  1. Wipe the local session for the cloud integration
  2. Call the backend route to delete the token
  3. Call /connect which would then allow the user to re-auth with that provider and use the new token.
@axosoft-ramint axosoft-ramint added this to the 16.0 milestone Sep 26, 2024
@axosoft-ramint axosoft-ramint added the area-integrations Issues or features related to integrations label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-integrations Issues or features related to integrations
Projects
None yet
Development

No branches or pull requests

1 participant