Don't perform OAuth redirection after server meteadata error
This commit is contained in:
1 parent
4f350ae223
commit
2883234ff6
1 file changed
+1
@@ -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({
|
||||||
|
|||||||
Reference in new issue
Block a user