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

fix: Remove autologin in Keycloak in E2EI [WPB-7061] #2774

Merged
merged 2 commits into from
Mar 11, 2024

Conversation

borichellow
Copy link
Contributor

@borichellow borichellow commented Mar 8, 2024

BugWPB-7061 [Android] Crash when user tries to register certificate for another email

What's new in this PR?

Issues

Keyclok and WebView that opens it cache users creds. So if user logs in with the wrong creds in Keyclok and tries to enroll E2EI certificate, he gets an error and no chance to change it and get a certificate (until cache is cleared).

Solutions

add AuthorizationRequest.Prompt.LOGIN parameter into AuthorizationRequest, it makes Keycloak force user to enter password (even when the creds are cached) OR sing out and sign in with another creds.

Attachments (Optional)

Screenshot 2024-03-08 at 16 20 31

Copy link
Contributor

github-actions bot commented Mar 8, 2024

Test Results

809 tests   809 ✅  11m 33s ⏱️
109 suites    0 💤
109 files      0 ❌

Results for commit 639d06a.

Copy link
Contributor

github-actions bot commented Mar 8, 2024

APKs built during tests are available here. Scroll down to Artifacts!

@AndroidBob
Copy link
Collaborator

Build 3507 succeeded.

The build produced the following APK's:

@MohamadJaara MohamadJaara merged commit 611e574 into release/candidate Mar 11, 2024
8 of 9 checks passed
@MohamadJaara MohamadJaara deleted the fix/remove_autologin_in_keycloak branch March 11, 2024 08:46
Copy link
Contributor

APKs built during tests are available here. Scroll down to Artifacts!

@AndroidBob
Copy link
Collaborator

Build 3512 succeeded.

The build produced the following APK's:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants