openedx / openedx/openedx-platform
Let the platform login control user login/register flow
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 8.2k
- Forks
- 4.4k
- Avg merge
- 6d 18h
- Merged PRs (30d)
- 42
Description
Forcing users to go to Authn MFE results in a bad UX. We need to let the platform decide on login and registration.
Imagine this scenario: you have a TPA setup and want users to log in there directly. you can have this by adding "THIRD_PARTY_AUTH_HINT": "some-provider-slug" and if users go to /login it redirects them to the TPA login/registration page but the current logic takes users to the Authn MFE and they need to know that they have to click on another button which results in a bad UX!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in lms/templates/header/navbar-not-authenticated.html around lines 51-69 and trace the login and registration links when THIRD_PARTY_AUTH_HINT is configured. Verify how the platform currently routes users through the Authn MFE, then confirm the desired direct TPA login or registration behavior. Done means the configured provider receives users directly from /login without requiring another button.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- authentication, frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100