forked from CringeStudios/gamja
components/app: warn when username is missing for OAuth introspection
Makes things easier to debug.
This commit is contained in:
parent
f698d7a250
commit
d9f7faad88
@ -437,6 +437,9 @@ export default class App extends Component {
|
||||
clientSecret: this.config.oauth2.client_secret,
|
||||
});
|
||||
username = data.username;
|
||||
if (!username) {
|
||||
console.warn("Username missing from OAuth 2.0 token introspection response");
|
||||
}
|
||||
} catch (err) {
|
||||
console.warn("Failed to introspect OAuth 2.0 token:", err);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user