Closed CodeWithEmad closed 2 months ago
Thanks for the PR. I have tested with normal auth flow and it's working fine. Could you please elaborate on the following questions related to tpa:
If you can share a working video of it with TPA, it will greatly help me understand the flow with TPA. or let me know how to test tpa on my system. For now, I've added FEATURES['THIRD_PARTY_AUTH_HINT'] = 'oa2-google'
in settings. But unable to test TPA flow as I am expecting that there will be more configurations to setup.
For the third-party auth logic, if I added the tpa slug, will it take me to the tpa page directly?
Yes, you can test if you have a TPA setup and add "THIRD_PARTY_AUTH_HINT": "some-provider-slug",
inside SiteConfiguration (it takes up to 3 minutes to update because of the cache) or have it directly in settings with a plugin.
Why is there a need to add tpa in authn mfe when one can directly go to the tpa page?
I don't get it. OpenedX covers all sorts of scenarios and all of them are handled with login/register views. in this scenario, it's not possible if you want users to not interact with authn mfe and use your desired TPA directly (Good UX). Instead, you need to let them know that after login, you need to click on another button to login (Bad UX)
Here is a video of SAML login setup on one of our test orgs.
Awesome! Thanks a lot for sharing the video. It clears things up much better.
I'll appreciate it if you could do the below tasks in this PR.
No Problem.
Here you go.
This will