Skip to content

Commit

Permalink
#40 document logout?url= redirection
Browse files Browse the repository at this point in the history
  • Loading branch information
bnfinet committed Feb 3, 2019
1 parent 02a50a8 commit b6fb4b9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,20 @@ If you are using [nginx-ingress](https://github.com/kubernetes/ingress-nginx) in
./vouch-proxy
```

## /logout endpoint redirection

The Vouch Proxy `/logout` endpoint accepts a `url` parameter in the query string which can be used to `302` redirect a user to your orignal OAuth provider/IDP/OIDC provider's [revocation_endpoint](https://tools.ietf.org/html/rfc7009)

```
https://vouch.oursites.com/login?url=https://oauth2.googleapis.com/revoke
```

logout resources..
* [Google](https://developers.google.com/identity/protocols/OAuth2WebServer#tokenrevoke)
* [Okta](https://developer.okta.com/docs/api/resources/oidc#logout)
* [Auth0](https://auth0.com/docs/logout/guides/logout-idps)


## the flow of login and authentication using Google Oauth

* Bob visits `https://private.oursites.com`
Expand Down

0 comments on commit b6fb4b9

Please sign in to comment.