Skip to content

Spring starter project demonstrating OIDC authentication using Spring Boot and Spring Boot Oauth2 Client.

Notifications You must be signed in to change notification settings

PlusAuth/plusauth-spring-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PlusAuth Spring Boot Starter Project

Simple Spring Boot project demonstrates basic authentication flows with PlusAuth

Explore the PlusAuth Spring Boot docs »

Table of Contents
  • About The Project
  • Prerequisites
  • Getting Started
  • License
  • What is PlusAuth

  • About The Project

    It is a simple Spring Boot project demonstrating basic authentication flows such as register, login, and logout. To keep things simple, Spring Boot is used for the server framework and spring-boot-starter-oauth2-client for authentication.

    Prerequisites

    Before running the project, you must first follow these steps:

    1. Create a PlusAuth account and a tenant at https://dashboard.plusauth.com
    2. Navigate to the Clients tab and create a client of type Regular Web Application
    3. Go to the details page of the client that you've just created and set the following fields as:

    Finally, write down your Client Id and Client Secret for server configuration

    Getting Started

    First, we need to configure the server. Open 'application.yml' in folder /src/main/resources/.

    Then configure the file using your Client Id, Client Secret, and PlusAuth tenant name.

    Finally, start the server:

        mvn spring-boot:run
    

    The example is hosted at http://localhost:8080/

    License

    This project is licensed under the MIT license. See the LICENSE file for more info.

    What is PlusAuth

    PlusAuth helps individuals, teams, and organizations to implement authorization and authentication systems in a secure, flexible and easy way.

    Explore the PlusAuth Website »

    Explore the PlusAuth Docs »

    Explore the PlusAuth Forum »

    About

    Spring starter project demonstrating OIDC authentication using Spring Boot and Spring Boot Oauth2 Client.

    Topics

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published