Example of Spring Boot application with oauth2 authorization using password grant type.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
oauth-as
oauth-rs
zuul
.gitignore
README.md
build.gradle
gradle.properties
settings.gradle

README.md

zuul-oauth2-example

This is the example of using oauth2 authorization server with separate resource server behind Zuul proxy. It supports internal client authorization workflow (grant_type = password) with example usages. The related article is here.

Components

  1. zuul is Zuul Proxy (http://localhost:8080).
  2. oauth-as is OAuth2 Authorization Server (http://localhost:8080/as, behind proxy).
  3. oauth-rs is OAuth2 Resource Server (http://localhost:8080/rs, behind proxy).

How to use

You can start everything using gradle --parallel bootRun in the root directory.