Results 1 to 2 of 2

Thread: OAuth2.0 - Log out

Hybrid View

  1. #1

    Default OAuth2.0 - Log out

    Hi,
    Is there some functionality in the OAuth 2.0 provider impl, that will take care of log out? In other words, is there any uri like oauth/logout?access_toke=xxxxx, that will invalidate the token?

    Please let me know.

    Thanks

  2. #2
    Join Date
    Jun 2005
    Posts
    4,232

    Default

    It's not part of the spec so we don't include endpoints for that in the library itself. The sparklr2 sample has an AdminController with a token revocation endpoint @RequestMapping(value = "/oauth/users/{user}/tokens/{token}", method = RequestMethod.DELETE). That's not really logout though in the normal sense of the word because an access token is not really a session token.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •