chore: 🤖 update token endpoint to match API
This commit is contained in:
3 files changed
+8
-6
No files matched your search
@@ -22,7 +22,7 @@ export default class OIDCAuthenticator extends BaseAuthenticator {
|
||||
* @param {string} options.authMethod.id
|
||||
* @return {string}
|
||||
*/
|
||||
buildAuthEndpointURL(/* {
|
||||
buildTokenAuthEndpointURL(/* {
|
||||
scope: { id: scopeID },
|
||||
authMethod: { id: authMethodID },
|
||||
} */) { }
|
||||
@@ -79,7 +79,7 @@ export default class OIDCAuthenticator extends BaseAuthenticator {
|
||||
*
|
||||
*/
|
||||
async attemptOIDCAuthentication(options) {
|
||||
const url = this.buildAuthEndpointURL(options);
|
||||
const url = this.buildTokenAuthEndpointURL(options);
|
||||
const body = JSON.stringify({
|
||||
state: this.session.get('data.pending.oidc.state'),
|
||||
token_request_id: this.session.get('data.pending.oidc.token_request_id')
|
||||
|
||||
Reference in new issue
Block a user