Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Using the Ouput parameters you can have your auto action return whatever you want. Basically check if they've a user id after doing the login action and if they do they're logged in. If they don't they aren't. So you could return true/false, JSON, etc.. as you please based off that.Yes I was thinking also as a Login/Logout action. I only need it to return a yes/no json to allow the user
As I use a webcomponent and not an iframe I'm able to access the cookies on the external domains with our own domain cookies. So I imagined that asking a login via ajax, then getting back the main domain cookies would be enough to allow the user to use the web component.
Token authentication won't work here then.Thinking at joomla 4 token, I have seen this but cannot really imagine how to use them. The process has to be really simple for a user : just login with its username/pass anywhere when the web component is available and then access its content.
Just post to your auto action url (leave Triggers as None for direct access support). It's a component endpoint like any extension. You can access your POST data using substitutions (e.g. [post_username]).Do you know how I could access the autoaction to try ? with a simple form to send user/pass
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.