mirror of
https://codeberg.org/emersion/gamja
synced 2025-03-13 07:48:37 +01:00
Don't perform OAuth redirection after server meteadata error
This commit is contained in:
parent
4f350ae223
commit
2883234ff6
@ -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…
x
Reference in New Issue
Block a user