Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Login user programmatically

Avatar

Level 1

Hi,

I'm trying to do a programmatically login in back-end. I have third party login service wich is doing a cross-domian login and in the callback of this login we are redirecting to a back-end serlvet. In this servlet I want to login the user in cq and then i have to do an other call to the third party login service to get other information.

I want to know if there is any api to handle loggin users o if i have to do an http request to "http://localhost:4502/content/my-app/en/login/j_security_check"?

Any thoughts?

Thanks in advance.

 

David.

0 Replies