Skip to content

Demo showing how to mock an OAuth2 login provider in a Spring Boot app

Notifications You must be signed in to change notification settings

wiremock/wiremock-spring-boot-oauth2-demo

Repository files navigation

Spring Boot WireMock OAuth2 Mocking Demo

Requires a JVM of version 17 or above to be installed.

How to run

Clone the project and cd into it:

git clone [email protected]:wiremock/wiremock-spring-boot-oauth2-demo.git --depth 1
cd wiremock-spring-boot-oauth2-demo

In one terminal start the OAuth2 mock:

./gradlew runMocks

In another terminal start the app:

./gradlew bootRun

Open http://localhost:8080 in your browser to start the demo.

About

Demo showing how to mock an OAuth2 login provider in a Spring Boot app

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published