Skip to content

Conversation

JasonL24
Copy link
Contributor

@JasonL24 JasonL24 commented Mar 23, 2020

Changes Proposed

  • Implemented Auth0 with Google and Github
  • Note: After logging in, the user is routed to '/' and directed back to the login page after logging out
  • Note: The routes do not match the issues exactly as I discussed different route names with Bryan in a Zoom meeting. I can switch them to the issue format if needed.

Current Usage

JasonL24 and others added 3 commits March 22, 2020 22:25
* changed decorators on activities routes

* changed decorators on cards routes

* changed decorators on checkpoints routes

* changed decorators on classrooms/concepts/events routes

* changed decorators on hints/mc_choices/modules routes

* changed decorators on organizations/steps/topics routes

* changed decorators on tracks routes

* roles_required and roles_accepted decorators use session

* Changed getting identy to use session on some routes

* changing getting username to session on more routes

* finished adding session to get username

* added profile to the session index on all username

* did user session for more decorators

* finished getting username from flask session

* changing to auth0_auth in badges and mc_questions routes

* replaced auth0 keys with env vars

* imported redirect from flask

* roles now stored in profile

* Hard-coded the 'roles' as Student for now

* minor error fix

* roles fixes

* roles fixes 2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants