mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-05 18:34:39 +03:00
Merge pull request #3908 from halfdan/3758-revokation-api
Delete revoked tokens
This commit is contained in:
commit
94bad160dd
@ -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