We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
signOut
1 parent f3ef251 commit fe88cacCopy full SHA for fe88cac
src/packages/core/auth/auth-flow.ts
@@ -173,8 +173,6 @@ export class UmbAuthFlow {
173
const response = new TokenResponse(JSON.parse(tokenResponseJson));
174
if (response.isValid()) {
175
this.#tokenResponse = response;
176
- } else {
177
- this.signOut();
178
}
179
180
@@ -376,9 +374,8 @@ export class UmbAuthFlow {
376
374
try {
377
375
this.#tokenResponse = await this.#tokenHandler.performTokenRequest(this.#configuration, request);
378
} catch (error) {
379
- // If the token request fails, it means the refresh token is invalid, so we sign the user out.
+ // If the token request fails, it means the refresh token is invalid
380
console.error('Token request error', error);
381
382
383
384
0 commit comments