add email for backstage profile
This commit is contained in:
@@ -32,7 +32,7 @@ const Component: ProviderComponent = ({ onResult }) => {
|
||||
|
||||
const profile = await gitlabAuthApi.getProfile();
|
||||
onResult({
|
||||
userId: identity?.id || profile.email,
|
||||
userId: identity!.id,
|
||||
profile: profile!,
|
||||
getIdToken: () =>
|
||||
gitlabAuthApi.getBackstageIdentity().then(i => i!.idToken),
|
||||
|
||||
Reference in New Issue
Block a user