-
Notifications
You must be signed in to change notification settings - Fork 6.5k
auth-backend: migrate GitHub provider #19473
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
Conversation
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Uffizzi Preview |
@@ -0,0 +1,8 @@ | |||
# Auth Module: GitHub Provider | |||
|
|||
This module provides an GitHub auth provider implementation for `@backstage/plugin-auth-backend`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there some docs that should be added or updated to direct people to this module?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eventually we'll want to add it to the backend system migration docs and once we switch to the new system, the auth docs
@@ -384,6 +384,8 @@ export interface OAuthSession { | |||
// (undocumented) | |||
refreshToken?: string; | |||
// (undocumented) | |||
refreshTokenExpiresInSeconds?: number; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changeset to release this package or has it already gone out with the other PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, yeah the OAuthSession
interface hasn't been released yet.
Thank you for contributing to Backstage! The changes in this pull request will be part of the |
Hey, I just made a Pull Request!
This migrates the GitHub provider to be a separate module. It also adds the optional
refreshTokenExpiresInSeconds
field to theOAuthSession
interface.✔️ Checklist
Signed-off-by
line in the message. (more info)