onResume is called after login from ULP before token is returned
cooperkong opened this issue · 0 comments
cooperkong commented
Checklist
- The issue can be reproduced in the Auth0.Android sample app (or N/A).
- I have looked into the Readme, Examples, and FAQ 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
onResume
will be called in the Activity that launches ULP once the login is finished and before token is returned.
This creates a gap in the code where Auth0 credentials could be used in onResume
, which will cause Auth0 to return error before the actual token is returned.
Reproduction
- launch ULP
- observer that onResume is called before token is returned.
Additional context
No response
Auth0.Android version
2.10.2
Android version(s)
12