redirect in every case
This commit is contained in:
@@ -70,7 +70,7 @@ export class UmbAppElement extends UmbLitElement {
|
||||
: 'Authorization failed. Please try again.';
|
||||
|
||||
// Complete the authorization request
|
||||
this.#authContext?.completeAuthorizationRequest().then(() => {
|
||||
this.#authContext?.completeAuthorizationRequest().finally(() => {
|
||||
// If we don't have an opener, redirect to the root
|
||||
if (!window.opener) {
|
||||
history.replaceState(null, '', '/');
|
||||
|
||||
Reference in New Issue
Block a user