Auto login

Pavel

New Member
Hello!
I'm try to integrate MailWizz in our product and want to include auto login to Customer Area for our customers (when they logged in on our site, they don't need to write login/pass for enter in MailWizz). Please, can you tell how to do it? Need I use cookies? Or I can use some link?

Thanks!
 

twisted1919

Administrator
Staff member
You can do a ajax call (post data) to the original mailwizz login form with the login info, then wait for the call the finish and check if success, then redirect to dashboard area. While the ajax call is running show some feedback to the user, like some loading message and so on.
 

Pavel

New Member
Hello again!
It's changed our requires. And now we need deploy MailWizz on different domain. So, we cannot use ajax in this case... Can you advise something?

Thanks!
 

Pavel

New Member
Hmmm... Ok, jsonp allow to access to other domain. But how I understand, it is just GET request. And for login used POST request from form. Maybe I'm not know something about jsonp... Can you explain me, please?
 

Pavel

New Member
Thanks you very much! It's really useful links! CORS mega cool trick! If someone need details how to set up crossdomain login in Mailwizz, don't be shy to ask me.
 
Top