chore: 🤖 update token endpoint to match API

This commit is contained in:
Randall Morey committed 2021-02-26 10:42:19 -05:00
1 parent 4ae5e73def
commit e9c297b1cf
3 files changed
+8 -6

No files matched your search

+2 -2
View File
@@ -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')