GitLab is an OpenIdConnectApi
Signed-off-by: Jamie Klassen <jklassen@vmware.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/core-plugin-api': minor
|
||||
---
|
||||
|
||||
The GitLab auth provider can now be used to get OpenID tokens.
|
||||
@@ -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',
|
||||
});
|
||||
|
||||
@@ -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 &
|
||||
|
||||
Reference in New Issue
Block a user