GitLab is an OpenIdConnectApi

Signed-off-by: Jamie Klassen <jklassen@vmware.com>
This commit is contained in:
Jamie Klassen
2023-02-27 21:03:56 -05:00
parent 456eaa8cf8
commit ab750ddc4f
4 changed files with 20 additions and 3 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-plugin-api': minor
---
The GitLab auth provider can now be used to get OpenID tokens.
+5 -1
View File
@@ -482,7 +482,11 @@ export const githubAuthApiRef: ApiRef<
// @public
export const gitlabAuthApiRef: ApiRef<
OAuthApi & ProfileInfoApi & BackstageIdentityApi & SessionApi
OAuthApi &
OpenIdConnectApi &
ProfileInfoApi &
BackstageIdentityApi &
SessionApi
>;
// @public
@@ -357,7 +357,11 @@ export const oktaAuthApiRef: ApiRef<
* for a full list of supported scopes.
*/
export const gitlabAuthApiRef: ApiRef<
OAuthApi & ProfileInfoApi & BackstageIdentityApi & SessionApi
OAuthApi &
OpenIdConnectApi &
ProfileInfoApi &
BackstageIdentityApi &
SessionApi
> = createApiRef({
id: 'core.auth.gitlab',
});
+5 -1
View File
@@ -23,7 +23,11 @@ export class ScmAuth implements ScmAuthApi {
ScmAuthApi,
{
github: OAuthApi & ProfileInfoApi & BackstageIdentityApi & SessionApi;
gitlab: OAuthApi & ProfileInfoApi & BackstageIdentityApi & SessionApi;
gitlab: OAuthApi &
OpenIdConnectApi &
ProfileInfoApi &
BackstageIdentityApi &
SessionApi;
azure: OAuthApi &
OpenIdConnectApi &
ProfileInfoApi &