Skip to content

Instantly share code, notes, and snippets.

@andineck
Last active March 7, 2016 21:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andineck/15a4c6248f149202f085 to your computer and use it in GitHub Desktop.
Save andineck/15a4c6248f149202f085 to your computer and use it in GitHub Desktop.
authentication / authorization links

token based authentication with jwt:

oauth 2.0

oauth grant types (from rfc6749)

OAuth defines four grant types:

  • authorization code,
  • implicit,
  • resource owner password credentials, and
  • client credentials.

It also provides an extension mechanism for defining additional grant types.

spring authorization grant types

.authorizedGrantTypes("password", "authorization_code", "refresh_token", "implicit", "client_credentials")

sprint oauth 2.0 examples with Java Spring

nginx auth request

@andineck
Copy link
Author

andineck commented Mar 7, 2016

Websocket Authentication: cookie/storage vs token

https://auth0.com/blog/2014/01/15/auth-with-socket-io/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment