I am building mobile application in React Native. Where I have to login with Azure AD using React-native-azure-ad-2 package. I have registered my application on Azure AD in App Registration by selecting Public client (mobile & desktop) option.
I am facing below issues:
1) What should I write in Redirect URI while app registration?
2) How do i get the idToken (JWT)? it is giving only access token.
Below is the response which I get from the SDK.
{token_type: "Bearer", scope: "https://graph.microsoft.com/User.Read https://graph.microsoft.com/Mail.Read", expires_in: 3600, ext_expires_in: 3600, access_token: "EwBgA8l6BAAURSN/FHlDW5xN74t6GzbtsBBeBUYAAYc2qpTiRI…1K8vK7jE80AZ6mgzpziYLWeJsFrJHnJ8vJN8nxIerszo5PoQC"}
But i need the idToken in JWT format.