Hey, I’m facing an issue. When I send the redirect uri/ callback url in WebAuthProvider in Android to use universal login. I’m getting redirected to a callback url which is having a state and code in it . In your documentation it uses an API “oauth/token” in which I have to send the code and get the idToken. How can I get that code in Android because as far as I know we cannot fetch the browser’s url. Is there any code that you guys can share to fetch that code from the callback url in order to get the idToken?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Redirect with `code` on onExecutePostLogin | 3 | 1684 | September 24, 2022 | |
Access Token URL Parameter missing when using universal login on mobile websites | 3 | 3249 | April 9, 2020 | |
To get access token instead of code and state after authentication | 3 | 3720 | January 1, 2023 | |
Cannot GET /android/{name}/callback for second time | 3 | 4291 | March 2, 2018 | |
URL parameter code=-> how to retrieve this through console.log? | 1 | 1227 | October 27, 2022 |