Authentication for Spring Boot App with Authgear and OAuth2

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • authgear-spring-oauth2-example

    Authentication for Spring Boot App with Authgear and OAuth2

  • This example uses Spring MVC **with Thymeleaf and SpringSecurity 6 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.

  • Thymeleaf

    Thymeleaf is a modern server-side Java template engine for both web and standalone environments.

  • *with Thymeleaf and SpringSecurity 6 to build a regular web application and it uses Authgear to **add authentication with the login page

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • initializr

    A quickstart generator for Spring projects

  • To create a new Spring Boot application you use the Spring Initializr. Then you add dependencies to pom.xml file such as spring-boot-starter-oauth2-client ****starter provides all the Spring Security dependencies needed to add authentication to your web application and Thymeleaf is used just to build a single page UI.

  • SDKMan

    The SDKMAN! Command Line Interface

  • Java 17 or higher. You can use SDKMAN! to install Java if you don't have it already.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts