refactor: tweaks
This commit is contained in:
@@ -2790,15 +2790,15 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
tokenReqChange({ target }) {
|
tokenReqChange({ target }) {
|
||||||
const targetReq = this.tokenReqs.find(({ name }) => name === target.value);
|
const { details, name } = this.tokenReqs.find(({ name }) => name === target.value);
|
||||||
let {
|
const {
|
||||||
oidcDiscoveryUrl,
|
oidcDiscoveryUrl,
|
||||||
authUrl,
|
authUrl,
|
||||||
accessTokenUrl,
|
accessTokenUrl,
|
||||||
clientId,
|
clientId,
|
||||||
scope
|
scope
|
||||||
} = targetReq.details;
|
} = details;
|
||||||
this.tokenReqName = targetReq.name;
|
this.tokenReqName = name;
|
||||||
this.oidcDiscoveryUrl = oidcDiscoveryUrl;
|
this.oidcDiscoveryUrl = oidcDiscoveryUrl;
|
||||||
this.authUrl = authUrl;
|
this.authUrl = authUrl;
|
||||||
this.accessTokenUrl = accessTokenUrl;
|
this.accessTokenUrl = accessTokenUrl;
|
||||||
|
|||||||
Reference in New Issue
Block a user