Dont's show blank screen
This commit is contained in:
parent
1a8bc43c60
commit
200f3e95eb
@ -13,6 +13,8 @@ export class AuthCallbackComponent {
|
|||||||
oauthService$.loadDiscoveryDocument().then(() => {
|
oauthService$.loadDiscoveryDocument().then(() => {
|
||||||
oauthService$.tryLoginCodeFlow().then(() => {
|
oauthService$.tryLoginCodeFlow().then(() => {
|
||||||
router$.navigateByUrl((oauthService$.state && oauthService$.state!="")?decodeURIComponent(oauthService$.state):"");
|
router$.navigateByUrl((oauthService$.state && oauthService$.state!="")?decodeURIComponent(oauthService$.state):"");
|
||||||
|
}).catch(() => {
|
||||||
|
router$.navigateByUrl("/");
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user