Skip to content

spring security (3.x.x) fundamentals including Oauth2, authorization server, resource server, client server. Opaque and non-opaque. Cors and Csrf. Multitenancy. Reactive security

Notifications You must be signed in to change notification settings

StanDarius24/security_spring

Repository files navigation

Method Authorization example


There are 2 branches, for opaque and non-opaque tokens

Also, there are some branches with CORS, CSRF and MULTI-TENANCY and TESTING.

If you are using reactive apps, and you are looking for a guide of how to implement security there I have a different repo https://github.com/StanDarius24/spring_reactive

GL HF!


  1. How does the client get a token (grant types)?
  2. How does the resource server (backend) validate and get data with the token?
  • 1.1. Authorization Code Grant (PKCE)
  • 1.2. Client Credentials Grant
  • 1.3. Refresh Token Grant

SpringBoot + Kotlin


Oauth-backend-auth

Oauth-backend-client

Oauth-backend-resource


Implementation of authorization server, resource server and client.

Understanding OAuth2.0 flow


stannis24 -> $2y$12$7klIYWXJUbqwkpJ5VyFV..ioV7Jh9L44/tHlDIUIs/tMo3YIqhtTu

About

spring security (3.x.x) fundamentals including Oauth2, authorization server, resource server, client server. Opaque and non-opaque. Cors and Csrf. Multitenancy. Reactive security

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages