https://github.com/authgear/authgear-example-spring
Authentication for Spring Boot App with Authgear and OAuth2
https://github.com/authgear/authgear-example-spring
authentication authgear java oidc-provider sample spring-boot
Last synced: about 1 month ago
JSON representation
Authentication for Spring Boot App with Authgear and OAuth2
- Host: GitHub
- URL: https://github.com/authgear/authgear-example-spring
- Owner: authgear
- Created: 2023-08-01T10:23:56.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-11T23:06:22.000Z (over 2 years ago)
- Last Synced: 2024-12-29T08:21:28.907Z (over 1 year ago)
- Topics: authentication, authgear, java, oidc-provider, sample, spring-boot
- Language: HTML
- Homepage: https://docs.authgear.com/get-started/regular-web-app/java-spring-boot
- Size: 6.84 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Authentication for Spring Boot App with Authgear and OAuth2
## What is Authgear?
Authgear is a free-to-use identity platform to manage access to your applications. It uses a special OpenID Connect (OIDC) protocol and OAuth 2.0 Authorization Framework to confirm who users are and allow/disallows them access to protected resources.
This example uses [Spring MVC](https://docs.spring.io/spring/docs/current/spring-framework-reference/web.html)
with [Thymeleaf](https://www.thymeleaf.org/) and [SpringSecurity 6](https://docs.spring.io/spring-security/reference/whats-new.html)
to build a regular web application and it uses Authgear to **add authentication with the login page** provided by Authgear.
The full source code of the examples can be found [on GitHub](https://github.com/Boburmirzo/authgear-spring-oauth2-example).
## How to run the project
Read a full blog post to learn step-by-step how to Authgear and run the project:
https://www.authgear.com/post/authentication-for-spring-boot-app-with-authgear-and-oauth2