Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Implement email login for OIDC accounts #949

Merged
merged 2 commits into from
Sep 26, 2023
Merged

Conversation

Ldoppea
Copy link
Member

@Ldoppea Ldoppea commented Sep 21, 2023

When entering an email linked to an OIDC Cozy, the received email will open the Manager that will then redirect to OIDC Oauth

Previous implementation did not support this scenario

When this scenario is detected, then the Manager should redirect to the Authentication screen that will trigger the OAuth process

When entering an email linked to an OIDC Cozy, the received email will
open the Manager that will then redirect to OIDC Oauth

Previous implementation did not support this scenario

When this scenario is detected, then the Manager should redirect to the
Authentication screen that will trigger the OAuth process
On IOS we encountered a bug that prevented the InAppBrowser to process
the `redirect_after_oidc` redirection if this one is an Universal Link
and if the OAuth login happened automatically (i.e. if the user was
already logged to the OIDC account)

We already handled that for Android in the past, but this seems to be
also the case for iOS

So like for Android we now use the app's scheme which is correctly
handled even if the OAuth dance ends without any user interaction
@Ldoppea Ldoppea merged commit 5707dc4 into master Sep 26, 2023
1 check passed
@Ldoppea Ldoppea deleted the fix/email_oidc branch September 26, 2023 13:32
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