fix: 🐛 Fix not calling logout properly in OIDC (#1921)
This commit is contained in:
1 parent
2fd45c552f
commit
16f8b6d4fb
1 file changed
+12
@@ -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
|
||||
|
||||
Reference in new issue
Block a user