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

auth-backend: migrate GitHub provider #19473

Merged
merged 4 commits into from Aug 22, 2023
Merged

auth-backend: migrate GitHub provider #19473

merged 4 commits into from Aug 22, 2023

Conversation

Rugvip
Copy link
Member

@Rugvip Rugvip commented Aug 21, 2023

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 the OAuthSession interface.

✔️ Checklist

  • A changeset describing the change and affected packages. (more info)
  • Added or updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)
  • All your commits have a Signed-off-by line in the message. (more info)

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>
@Rugvip Rugvip requested review from backstage-service and a team as code owners August 21, 2023 08:09
@Rugvip Rugvip requested review from jhaals and removed request for a team August 21, 2023 08:09
@github-actions github-actions bot added the auth label Aug 21, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Aug 21, 2023

Uffizzi Preview deployment-33922 was deleted.

Base automatically changed from rugvip/exp to master August 21, 2023 08:37
@@ -0,0 +1,8 @@
# Auth Module: GitHub Provider

This module provides an GitHub auth provider implementation for `@backstage/plugin-auth-backend`.
Copy link
Member

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?

Copy link
Member Author

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;
Copy link
Member

@jhaals jhaals Aug 21, 2023

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?

Copy link
Member Author

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.

@Rugvip Rugvip enabled auto-merge August 21, 2023 15:54
@Rugvip Rugvip merged commit 712d111 into master Aug 22, 2023
34 checks passed
@Rugvip Rugvip deleted the rugvip/providers branch August 22, 2023 08:23
@github-actions
Copy link
Contributor

Thank you for contributing to Backstage! The changes in this pull request will be part of the 1.18.0 release, scheduled for Tue, 19 Sep 2023.

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 this pull request may close these issues.

None yet

2 participants