While login is token generated in mendix?

0
Hello everyone, While i login with username and password I want token to be generated which i can use in GET API to show the data according to the user based on token. How can i achieve that in my application or i need to do custom login for that, but in custom login there is no security . Can anyone help me with this?
asked
1 answers
2

Hi Niharika Tiwari

You have to create a custom login page and logic

Create a non-persist entity for the login where the end user can fill in the credentials 

and your logic should be in a Nanoflow like the attached below

See where is the best place to set the token logic in this Nanoflow

image.png

Please mark this answer as accepted answer if it answers your question

answered