Merge pull request #3908 from halfdan/3758-revokation-api

Delete revoked tokens
This commit is contained in:
Sebastian Gierlinger 2014-09-11 10:17:08 +02:00
commit 94bad160dd

View File

@ -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';