Skip to content
프로젝트

jgrandja/oauth2-protocol-patterns

GitHub에서 보기

소개

Run Spring Authorization Server → ./gradlew -b auth-server/build.gradle bootRun

기타 프로젝트

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

OAuth 2.0 Protocols and Patterns

Warning
The samples in this repo are intended for educational purposes to demonstrate certain features of Spring Security and OAuth 2.0 / OpenID Connect 1.0. DO NOT blindly copy/paste code from the samples into production applications. Please work with your information security team to determine the suitability of using the patterns shown in the samples.

Run the Sample

  • Build the sample → ./gradlew clean build

  • Run Spring Authorization Server → ./gradlew -b auth-server/build.gradle bootRun

    • IMPORTANT: Make sure to modify your /etc/hosts file to avoid problems with session cookie overwrites between ui-app and auth-server. Simply add the entry 127.0.0.1 auth-server

  • Run UI App → ./gradlew -b ui-app/build.gradle bootRun

  • Run Microservice A → ./gradlew -b microservice-a/build.gradle bootRun

  • Run Microservice B → ./gradlew -b microservice-b/build.gradle bootRun

  • Run Microservice C → ./gradlew -b microservice-c/build.gradle bootRun

  • Go to http://127.0.0.1:8080 and login to Spring Authorization Server using user1/password

    Important
    Make sure to use the IP literal 127.0.0.1 and not localhost.

관련 프로젝트 살펴보기

불러오는 중…