File tree Expand file tree Collapse file tree
complete-application/src/app Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,6 +23,14 @@ import { authGuard } from './auth-guard';
2323 ) ,
2424 canActivate : [ authGuard ( false , '/account' ) ] ,
2525 } ,
26+ {
27+ path : 'logged-out' ,
28+ loadComponent : ( ) =>
29+ import ( './home-page/home-page.component' ) . then (
30+ ( m ) => m . HomePageComponent
31+ ) ,
32+ canActivate : [ authGuard ( false , '/account' ) ] ,
33+ } ,
2634 {
2735 path : 'account' ,
2836 loadComponent : ( ) =>
@@ -46,6 +54,7 @@ import { authGuard } from './auth-guard';
4654 clientId : 'e9fdb985-9173-4e01-9d73-ac2d60d1dc8e' ,
4755 serverUrl : 'http://localhost:9011' ,
4856 redirectUri : 'http://localhost:4200' ,
57+ postLogoutRedirectUri : 'http://localhost:4200/logged-out' ,
4958 scope : 'openid email profile offline_access' ,
5059 shouldAutoRefresh : true ,
5160 } ) ,
Original file line number Diff line number Diff line change 22 "variables" : {
33 "allowedOrigin" : " http://localhost:4200" ,
44 "authorizedRedirectURL" : " http://localhost:4200" ,
5+ "authorizedPostLogoutURL" : " http://localhost:4200/logged-out" ,
56 "authorizedOriginURL" : " http://localhost:4200" ,
67 "logoutURL" : " http://localhost:4200" ,
78 "applicationId" : " e9fdb985-9173-4e01-9d73-ac2d60d1dc8e" ,
9091 "name" : " Example app" ,
9192 "oauthConfiguration" : {
9293 "authorizedRedirectURLs" : [
94+ " #{authorizedPostLogoutURL}" ,
9395 " #{authorizedRedirectURL}"
9496 ],
9597 "authorizedOriginURLs" : [
You can’t perform that action at this time.
0 commit comments