doc: remove dummy secret from authconfig in angular (#2257)

This commit is contained in:
Max Peintner
2021-08-23 13:07:35 +02:00
committed by GitHub
parent 4cd12f453d
commit 79e801e609

View File

@@ -30,7 +30,7 @@ Continue and Create the application.
### Client ID and Secret ### Client ID and Secret
After successful app creation a popup will appear showing you your clientID as well as a secret. After successful app creation a popup will appear showing you your clientID.
Copy your client ID as it will be needed in the next step. Copy your client ID as it will be needed in the next step.
## Angular Setup ## Angular Setup
@@ -58,7 +58,6 @@ const authConfig: AuthConfig = {
responseType: 'code', responseType: 'code',
oidc: true, oidc: true,
clientId: 'YOUR-CLIENT-ID', // replace with your appid clientId: 'YOUR-CLIENT-ID', // replace with your appid
dummyClientSecret: 'YOUR-SECRET', // required by library
issuer: 'https://issuer.zitadel.ch', issuer: 'https://issuer.zitadel.ch',
redirectUri: 'http://localhost:4200/auth/callback', redirectUri: 'http://localhost:4200/auth/callback',
postLogoutRedirectUri: 'http://localhost:4200/signedout', // optional postLogoutRedirectUri: 'http://localhost:4200/signedout', // optional