strongloop / loopback-component-oauth2

oAuth 2.0 server for LoopBack
http://www.strongloop.com
Other
62 stars 63 forks source link

Missing the revoke endpoint #25

Closed XinV closed 9 years ago

XinV commented 9 years ago

The OAuth2 spec has revoke endpoint: POST /revoke HTTP/1.1 Host: server.example.com Content-Type: application/x-www-form-urlencoded Authorization: Basic czZCaGRSa3F0MzpnWDFmQmF0M2JW

token=45ghiukldjahdnhzdauz&token_type_hint=refresh_token

Can loopback-component-oauth2 provides this endpoint soon so that we can build the open api platform on top of loopback-component-oauth2 easily? Thanks.

raymondfeng commented 9 years ago

Where do you see the revoke endpoint in the oAuth 2.0 spec - https://tools.ietf.org/html/rfc6749? I couldn't find it.

XinV commented 9 years ago

ah, i saw it here: https://tools.ietf.org/html/rfc7009

raymondfeng commented 9 years ago

I just implemented and released the feature in 2.0.0-rc2.

XinV commented 9 years ago

Very cool. Thanks