mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 22:02:11 +03:00
Delete revoked tokens
closes #3758 - new API method to delete access and refresh token - use new ember-simple-auth config to revoke tokens on logout - new method to delete tokens by .. token
This commit is contained in:
parent
4eee1b4cde
commit
412e368729
@ -22,6 +22,7 @@ var AuthenticationInitializer = {
|
||||
});
|
||||
SimpleAuth.Authenticators.OAuth2.reopen({
|
||||
serverTokenEndpoint: Ghost.apiRoot + '/authentication/token',
|
||||
serverTokenRevocationEndpoint: Ghost.apiRoot + '/authentication/revoke',
|
||||
refreshAccessTokens: true,
|
||||
makeRequest: function (url, data) {
|
||||
data.client_id = 'ghost-admin';
|
||||
|
Loading…
Reference in New Issue
Block a user