Giter VIP home page Giter VIP logo

vauthenticator's Introduction

VAuthenticator

This project is actually a journey. This is a big evolution of the OAuth2 authorization server developed during my master thesis to an OpenID Connect authentication server. In this new version I expand the initial project in order to use JWT token embracing OpenID Connect protocol, all written in Kotlin based on Spring Boot 3.x and more over to the latest spring based oauth2.1/openid connect framework: spring-authorization-server.

The Architecture

Features

Right now it is based, as said before to the latest version on spring oauth2/open id connect framework spring-authorization-server.

API:

  • Client Applications management
  • roles management
  • account management
  • sign up: admin:signup scope is required
  • welcome mail: admin:welcome scope is required
  • email verification: admin:mail-verify scope is required
  • reset password: admin:reset-password scope is required
  • access_token/id_token customization via lambda, see here for more details

Storage:

  • DynamoDB
  • Redis:
    • authorization code
    • distributed session store
    • distributed cache
  • RSA key pair are created from KMS Customer Master Key stored on Dynamo, private key encrypted via KMS of course stored on Dynamo.

General Feature:

VAuthenticator implements front_channel single logout openid connect specification session management

ui local environment

In order to make simple the ui assets build for local development take in consideration to enable the following spring configuration properties:

  document:
    engine: file-system
    fs-base-path: dist

in order to be sure to have the asset files in the correct path execute this script:

rm -rf dist

mkdir -p dist/static-asset/content/asset/
mkdir -p dist/mail/templates

cd src/main/frontend
npm install
npm run-script build

cd dist/asset

cp * ../../../../../dist/static-asset/content/asset/

cd ../../../../../communication/default/mail 
cp *  ../../../dist/mail/templates

vauthenticator's People

Contributors

mrflick72 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

bassista

vauthenticator's Issues

remote template

we need to give the chance to save thymeleaf template in S3 and not in the classpath in order to make to the user to customize the pages

use the auth server as asset distributor

we want to distribute assets via VAuthenticator server itself instead of a dedicated external nginx in order to save resources in the deployment model and make the deployment easier

sign up page ui fix

we need to improve the signup page in terms of adding a data picker on birth date and a better phone number text field

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.