-
Notifications
You must be signed in to change notification settings - Fork 226
Improve the callback uri format and customization. #4664
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
Conversation
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
@sandhose told me that the spec says you should not have a hostname in native callbacks. So we may use |
Will this essentially match |
Good point. I guess I can use |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #4664 +/- ##
========================================
Coverage 80.01% 80.01%
========================================
Files 2107 2109 +2
Lines 55838 55847 +9
Branches 6972 6972
========================================
+ Hits 44678 44688 +10
+ Misses 8765 8764 -1
Partials 2395 2395 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
fbbe59f
to
e1ccdc2
Compare
Use io.element.android for the scheme of Oidc redirection for Element X. For nightly the scheme will be io.element.android.nightly For debug the scheme will be io.element.android.debug Element Pro is using `io.element`
e1ccdc2
to
837b566
Compare
|
|
Update:
|
Content
The PR aims to improve how the redirection is handled during a OIDC authentication, to filter between different installed applications, by providing a different scheme for all the different version (debug/nightly/release)
Current version:

New version:
This is for the debug version.
For the prod version, the text will be: "Element X at io.element.android:/ wants to access your account."
For the nightly version, the text will be: "Element X nightly at io.element.android.nightly:/ wants to access your account."
This will have the effect to avoid this screen to be displayed when the user clicks on "Continue":

Note:
Element Pro
andElement X
are installed, since we are using the schemeio.element
for Element Pro. The schemeio.element.debug
will be for Element Pro debug, and the schemeio.element.nightly
will be for Element Pro nightly.Motivation and context
Better UI from a user POV.
Screenshots / GIFs
Tests
Tested devices
Checklist