GithubHelp home page GithubHelp logo

plusauth / plusauth-spring-starter Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 67 KB

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

Java 56.34% HTML 43.66%
plusauth java spring-boot oidc openidconnect example

plusauth-spring-starter's Introduction

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 »

    Recommend Projects

    • React photo React

      A declarative, efficient, and flexible JavaScript library for building user interfaces.

    • Vue.js photo Vue.js

      🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

    • Typescript photo Typescript

      TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    • TensorFlow photo TensorFlow

      An Open Source Machine Learning Framework for Everyone

    • Django photo Django

      The Web framework for perfectionists with deadlines.

    • D3 photo D3

      Bring data to life with SVG, Canvas and HTML. 📊📈🎉

    Recommend Topics

    • javascript

      JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

    • web

      Some thing interesting about web. New door for the world.

    • server

      A server is a program made to process requests and deliver data to clients.

    • Machine learning

      Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

    • Game

      Some thing interesting about game, make everyone happy.

    Recommend Org

    • Facebook photo Facebook

      We are working to build community through open source technology. NB: members must have two-factor auth.

    • Microsoft photo Microsoft

      Open source projects and samples from Microsoft.

    • Google photo Google

      Google ❤️ Open Source for everyone.

    • D3 photo D3

      Data-Driven Documents codes.