Auto login while accessing DeepLink

0
Hi Team,   I have a scenario, Where user has to be auto logged in (should not prompt login page) when accessing deeplink. In account entity I have created field called token. Deeplink will have username and token as parameter. I have created the microflow that validates token with username, but now I have stuck how to create login for corresponding user account. Can some one help on this part, how to create login with username and password values from account entity and proceed to next step in microflow.   Thanks & Regards, Balaji S
asked
4 answers
0

Maybe the SAML module will be of use here? https://docs.mendix.com/appstore/modules/saml 

You can use it together with the deep link module: https://docs.mendix.com/appstore/modules/deep-link 

I hope this helps.

answered
0

You want to take a look at this module: https://marketplace.mendix.com/link/component/107925

This gives you an idear on how to do the autologin. In the deeplink make sure you have something where you can identify which account it is. With that parameter create the autologin request and do the autologin.

Todo the rest of the deeplink is a bit tricky. You might need another deeplink for that. So retrieve the user, create another deeplink so that this user has a pending link and then do the autologin part so that this deeplinks get’s triggered.

Regards,

Ronald

 

answered
0

Hi Balaji,

have a look at the password forget module from Mendix. There is an action that logges in the user. 

https://marketplace.mendix.com/link/component/1296

answered
0

HI 

There is SingIn Javascript action that you can use for signing in the user. 

Regards,

Anahit Pahlevanyan

answered