Don't perform OAuth redirection after server meteadata error

This commit is contained in:
Simon Ser 2023-03-10 14:14:37 +01:00
parent 4f350ae223
commit 2883234ff6

View file

@ -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({