Mentions légales du service

Skip to content

Add CAS support for authentication

RAVERDY Pierre-Guillaume requested to merge draft-add-cas into dev
name: Feature
about: New features or wider changes

Closes #86

Description

Adds CAS support primarily on the backend. Frontend CAS button calls the backend that redirects to the CAS Inria then the backend deals with validation, returning the jwt + user info to the frontend.

Check https://prigaux.frama.io/cas-spa-docs/#jsonp for various patterns for implementing CAS authentication

May check incomplete branch 86-cas-support for a frontend initiated CAS auth, with http intercept

Changelog

Please add a summary of the changes in CHANGELOG.md and in this MR:

  • Add CAS authentication support, pre-fill form with user information

How to test

  • launch, go to create, all fields on first form should be empty
  • go to signin page, use Inria CAS authentication
  • after cas signin completed, new menus options should appearn along side the user login in the header of the SPA
  • go to create visio, the login and email fields should be completed with the user info
  • in the request/server panels, user-related information should appear (pending/completed requests, ongoing instances)
  • try logout, should return the minimal menu

Misc

Edited by RAVERDY Pierre-Guillaume

Merge request reports