You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding a GitHub connector, we ask user for the GitHub PAT to get information about their repo/issues:
Currently, there is no way to get that token for the end-user thought. We need to add an authentication flow that will generate GitHub PAT and pass it into the Togezr extension. We can use an Azure Function for the redirection service:
Add the "Please sign in" notification instead of the input.
The GitHub app will redirect to an Azure function endpoint which will exchange the authorization code to the access token.
The Azure function then should redirect to the vscode protocol handler continue the command flow.
Plan:
Implement the Azure function.
Implement the protocol handler for the extension.
Implement the "wait on auth" provider that can be cancelled by the user.
legomushroom
changed the title
[auth][github]: Add automatic auth flow to obtain a GitHub token
[auth][github]: add automatic auth flow to obtain a GitHub token
Feb 25, 2020
When adding a
GitHub
connector, we ask user for theGitHub
PAT to get information about their repo/issues:Currently, there is no way to get that token for the end-user thought. We need to add an authentication flow that will generate GitHub PAT and pass it into the Togezr extension. We can use an
Azure Function
for the redirection service:vscode
protocol handler continue the command flow.Plan:
Live Share:
⎇ legomushroom/github-oauth [ ⇄ master ]
powered by Togezr
The text was updated successfully, but these errors were encountered: