fix: 🐛 Fix not calling logout properly in OIDC (#1921)

This commit is contained in:
Zhihe Li authored and GitHub committed 2023-09-26 10:40:36 -04:00
1 parent 2fd45c552f
commit 16f8b6d4fb
1 file changed
+12
+12
View File
@@ -33,6 +33,18 @@ export default class OIDCAuthenticator extends BaseOIDCAuthenticator {
return adapter.buildURL('auth-method', authMethodID, options, 'findRecord');
}
/**
* Generates a scope URL with which to deauthenticate.
* @override
* @param {object} options
* @param {string} scopeID
* @return {string}
*/
buildDeauthEndpointURL({ id }) {
const adapter = this.store.adapterFor('application');
return adapter.buildURL('auth-token', id, {}, 'findRecord');
}
/**
* Generates an auth token validation URL used to check tokens on restoration.
* @override