Giter Site home page Giter Site logo

Dream Platform support about eca-auth-data HOT 1 OPEN

derega avatar derega commented on June 28, 2024
Dream Platform support

from eca-auth-data.

Comments (1)

derega avatar derega commented on June 28, 2024

First version of this was merged in PR #1. It contains the minimum viable implementation.

This was updated on Dreamschool side this week.

Currently it works like this:

  • User comes in the the Dreamschool SP with SAML assertion from MPASS Auth Proxy
  • Assertion contains MPASS ID
  • If the MPASS ID is found in Dreamschool User Database:
    • User is logged in and everything works
  • User is not found:
    • DS UserDB makes an API query to MPASS Auth Data asking for possible external_id
    • If the response contains valid external_id:
      • The external_id in this case is DS UserDB user ID
      • MPASS ID is added for that user
      • user is logged in and everything works
    • Response does not contain valid external_id
      • This is previously unknown new user
      • Account is created automatically based on attributes in SAML assertion
      • Username is derived from MPASS ID
      • User is always teacher
      • User belongs to organisation named "ECA"

In all cases user is logged in and can use Dreamschool service.

There are still limitations. All users are teachers and they are all in single organisation. This is enough for demo purposes as this is not meant to be production ready yet. The main purpose is to allow testing of MPASS authentication.

There are two ways to use this implementation:

  1. Existing Dreamschool user uses MPASS to log in to Dreamschool using Dreamschool as authentication source.
  2. All users who have MPASS ID can automatically register new account and log in to Dreamschool.

from eca-auth-data.

Related Issues (19)

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.