Skip to content

l0co/zuul-oauth2-example

io
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

Example of Spring Boot application with oauth2 authorization using password grant type.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published