-
-
Save lankaapura/8ba4780047da867213998f4a03f5de65 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const authConfig: AuthConfig = { | |
// Url of the Identity Provider | |
issuer: "https://demo.identityserver.io", | |
requireHttps: true, | |
// URL of the SPA to redirect the user to after login | |
redirectUri: "http://localhost:2020/", | |
// URL of the SPA to redirect the user after silent refresh | |
silentRefreshRedirectUri: "http://localhost:2020/silent-refresh.html", | |
// The SPA's id. The SPA is registerd with this id at the auth-server | |
clientId: "implicit", | |
// set the scope for the permissions the client should request | |
// The first three are defined by OIDC. The 4th is a usecase-specific one | |
scope: "openid profile email api", | |
showDebugInformation: true, | |
sessionChecksEnabled: true | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const authConfig: AuthConfig = { | |
// Url of the Identity Provider | |
issuer: "https://demo.identityserver.io", | |
requireHttps: true, | |
// URL of the SPA to redirect the user to after login | |
redirectUri: "http://localhost:2020/", | |
// URL of the SPA to redirect the user after silent refresh | |
silentRefreshRedirectUri: "http://localhost:2020/silent-refresh.html", | |
// The SPA's id. The SPA is registerd with this id at the auth-server | |
clientId: "implicit", | |
// set the scope for the permissions the client should request | |
// The first three are defined by OIDC. The 4th is a usecase-specific one | |
scope: "openid profile email api", | |
showDebugInformation: true, | |
sessionChecksEnabled: true | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment