Native Mobile Azure SSO using OIDC + MobileSSO - Returning user at tokenStore

0
Hello everyone, I have  implemented Azure Single Sign-On (SSO) in a native mobile application using OpenID Connect (OIDC) SSO and Mobile SSO. I have added the callback URL (app\_name://oauth/callback) in the'mobile and desktop' platform at Azure. I am able to receive a response with the generated access\_token. The user is also being created in the Mendix database. The final step is to store the access\_token in'mx.session.tokenStore', log out the anonymous session, and log in via the authenticated user. However, my app is failing to store the token in tokenStore. As an alternative, I am storing the token in local/async storage using 'await AsyncStorage.setItem('authToken', authToken);'. After authentication, the user is being redirected to the login page again, even though the token is present in async storage. Any assistance would be greatly appreciated!
asked
1 answers
-1

Hi Neha , 

There is a blog on the same and refer the below documentation

https://medium.com/mendix/implementing-sso-through-azure-ad-mendix-and-oidc-cb74eed77d53

answered