Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

@andineck

This comment has been minimized.

Copy link
Owner Author

@andineck 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