add email for backstage profile

This commit is contained in:
Tim Urista
2020-07-06 09:47:19 -07:00
parent e8a924a923
commit fe8aa15473
2 changed files with 12 additions and 1 deletions
@@ -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),