Guardian Android App does not work in PSaaS environment.
In the PSaaS environment, the MFA login url end is https://{{baseURL}}.com/appliance-mfa.
When redirecting to mfa-api, the path /api-enroll should be appended to the above url. This was not happening.
Instead, /api-enroll was replacing/appliance-mfa
This PR changes the way we append paths from using .resolve to .addPathSegments
This can be tested by running the GuardianApp.Android application and importing this branch instead of:
implementation "com.auth0.android:guardian:0.3.0" in the build.gradle
[x] This change adds test coverage for new/changed/fixed functionality
Checklist
[ ] I have added documentation for new/changed functionality in this PR or in auth0.com/docs
[x] All active GitHub checks for tests, formatting, and security are passing
[x] The correct base branch is being used, if not master
Description
Guardian Android App does not work in PSaaS environment.
In the PSaaS environment, the MFA login url end is
https://{{baseURL}}.com/appliance-mfa
. When redirecting to mfa-api, the path/api-enroll
should be appended to the above url. This was not happening. Instead,/api-enroll
was replacing/appliance-mfa
This PR changes the way we append paths from using.resolve
to.addPathSegments
References
https://auth0team.atlassian.net/browse/MFA-352
Testing
This can be tested by running the GuardianApp.Android application and importing this branch instead of:
implementation "com.auth0.android:guardian:0.3.0"
in the build.gradleChecklist
master