Login automatically after a successful registration or login using a java action

1
Is it possible to login a user automatically after a successful registration? In other words calling a microflow or a java action that will do the same operation that happens behind the login button of a login form, for example passing a username and password as parameters and then expect the boolean return type.
asked
2 answers
1

You can login using a java-action

For example

ISession session = Core.login(username, password);

See apidocs

Be aware that Mendix sets cookies for session information.

answered
0

Hi , See these forum posts for more reference

https://forum.mendix.com/questions/5487/Login%20form#8512

https://forum.mendix.com/questions/5488/How%20do%20I%20make%20a%20login%20form%20with%20a%20login%20button?#8511

answered