Giter Club home page Giter Club logo

Comments (6)

mrbdahlem avatar mrbdahlem commented on July 17, 2024

once update is complete, then allow the user to continue on... save original lti target in session

from commit.

mrbdahlem avatar mrbdahlem commented on July 17, 2024

need to add new controller and new security config for this auth path?

from commit.

mrbdahlem avatar mrbdahlem commented on July 17, 2024

iframe pop up in bootstrap modal:

$('#myModal').modal({backdrop: 'static', keyboard: false})

https://stackoverflow.com/questions/22207377/disable-click-outside-of-bootstrap-modal-area-to-close-modal

iframe won't work for the auth, but having the modal contain a button that opens a new window should... the redirect will verify the token received then say "close this window". Everything could be handled with a new controller requiring oauth login that saves and verifies the tokens received.

window.postMessage() should allow signaling back to the lti window that a token has been received. https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage

from commit.

mrbdahlem avatar mrbdahlem commented on July 17, 2024

https://tools.ietf.org/id/draft-ideskog-assisted-token-00.html#assisted-token-request

won't work. instead: https://www.kmaschta.me/blog/2017/03/04/github-oauth-authentication-without-server/

from commit.

mrbdahlem avatar mrbdahlem commented on July 17, 2024

Need to refactor all oauth and user entities... having multiple paths doesn't seem to be possible/easy.

Two types of users... web/lti both link to a third entity, the github user

web users are created via web sign up, are owners of the courses, need to be enabled

lti users are created when they arrive via lti. if they have instructor role, treat as owners of the course. if they have a learner role, create an lti user if necessary, add to session, and then proceed to oauth if necessary

Both paths require logging on via github before continuing. Logging on via github links the user with a github account. The github accounts are stored separately, multiple user (1 web and n lti) can be attached to the github account.

from commit.

mrbdahlem avatar mrbdahlem commented on July 17, 2024

https://www.callicoder.com/spring-boot-security-oauth2-social-login-part-2/

CustomOAuth2UserService

from commit.

Related Issues (6)

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.