Skip to content

auth-backend: migrate GitHub provider#19473

Merged
Rugvip merged 4 commits into
masterfrom
rugvip/providers
Aug 22, 2023
Merged

auth-backend: migrate GitHub provider#19473
Rugvip merged 4 commits into
masterfrom
rugvip/providers

Conversation

@Rugvip

@Rugvip Rugvip commented Aug 21, 2023

Copy link
Copy Markdown
Member

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)

@Rugvip
Rugvip requested review from a team and backstage-service 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 commented Aug 21, 2023

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
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

// (undocumented)
refreshToken?: string;
// (undocumented)
refreshTokenExpiresInSeconds?: number;

@jhaals jhaals Aug 21, 2023

Copy link
Copy Markdown
Member

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
Copy Markdown
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
@Rugvip
Rugvip deleted the rugvip/providers branch August 22, 2023 08:23
@github-actions

Copy link
Copy Markdown
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants