-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Labels
bugThis points to a verified bug in the codeThis points to a verified bug in the code
Description
Checklist
- I have looked into the Readme and Examples, and have not found a suitable solution or answer.
- I have looked into the API documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- I agree to the terms within the Auth0 Code of Conduct.
Description
I'm attempting to integrate the lock SDK for our Android app. I have the following settings:
private fun showClassicLock() {
val builder = Lock.newBuilder(account, callback)
.withScheme("https")
.withAudience("https://apitest.cove.evercharge.com")
.withScope("openid profile offline_access email")
.allowedConnections(listOf("google-oauth2"))
.withAuthenticationParameters(
mapOf(
"prompt" to "select_account",
)
)
// For demo purposes because options change dynamically, we release the resources of Lock here.
// In a real app, you will have a single instance and release its resources in Activity#OnDestroy.
lock?.onDestroy(this)
// Create a new instance with the updated configuration
lock = builder.build(this)
startActivity(lock!!.newIntent(this))
}
After selecting my google account I get the following screen
What I expected to happen was to have the LockCallback.onAuthentication triggered.
Reproduction
- Clone the repository at https://github.com/auth0/Lock.android/blob/main/EXAMPLES.md#examples-using-lockandroid
- Update audience, scheme, clientId, appid, and domain based off of the Native Application in our Auth0 console.
- Update the builder with the parameters in the description.
- Run the app.
- Trigger social login
- Select an account
- Complete login
Expected: LockCallback.onAuthentication triggered.
Actual: 404 page is shown
This occurs consistently.
Additional context
No response
Lock.Android version
3.2.2
Android version(s)
14
Metadata
Metadata
Assignees
Labels
bugThis points to a verified bug in the codeThis points to a verified bug in the code
