Skip to content

Commit

Permalink
chore(spa): remove static oauth config in environment template
Browse files Browse the repository at this point in the history
  • Loading branch information
timonmasberg committed May 9, 2023
1 parent cd9a02d commit 4c3f20f
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions apps/spa/src/environments/environment.template
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,5 @@ export const environment = {
production: $IS_PRODUCTION,
deploymentName: '$DEPLOYMENT_NAME',
apiUrl: '$API_URL',
oauth: { // todo: replace this with /$/OAUTH_CONFIG before merge into main
config: {
redirectUri: window.origin + '/auth',
oidc: true,
responseType: 'code',
clientId: '6b5aa2b3-6237-44ba-8448-252052e73831',
issuer:
'https://kordisleitstelle.b2clogin.com/5b974891-a530-4e68-ac04-e26a18c3bd46/v2.0/',
tokenEndpoint:
'https://kordisleitstelle.b2clogin.com/kordisleitstelle.onmicrosoft.com/b2c_1_signin/oauth2/v2.0/token',
scope: 'openid offline_access 6b5aa2b3-6237-44ba-8448-252052e73831',
strictDiscoveryDocumentValidation: false,
},
discoveryDocumentUrl:
'https://kordisleitstelle.b2clogin.com/kordisleitstelle.onmicrosoft.com/B2C_1_SignIn/v2.0/.well-known/openid-configuration',
},
oauth: $OAUTH_CONFIG as any,
};

0 comments on commit 4c3f20f

Please sign in to comment.