mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-14 19:05:01 -05:00
Don't perform OAuth redirection after server meteadata error
This commit is contained in:
parent
4f350ae223
commit
2883234ff6
1 changed files with 1 additions and 0 deletions
|
@ -394,6 +394,7 @@ export default class App extends Component {
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error("Failed to fetch OAuth 2.0 server metadata:", err);
|
console.error("Failed to fetch OAuth 2.0 server metadata:", err);
|
||||||
this.showError("Failed to fetch OAuth 2.0 server metadata");
|
this.showError("Failed to fetch OAuth 2.0 server metadata");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
oauth2.redirectAuthorize({
|
oauth2.redirectAuthorize({
|
||||||
|
|
Loading…
Reference in a new issue