I am trying to login with another auth provider who has a Iframe and upon successful signon, we obtain the cookie and store it in the browser. We intend to get the cookie and use it to redirect our users to our page. Is this possible?
Right now, i do not see to get any response when trying to access that Iframe. How can this be resolved, or is there a workaround
You can get users to register via a third party, open the link below and scroll down to see the code for ‘Register a user using a 3rd party for approval’ on the right hand side.
https://www.wix.com/corvid/reference/wix-users-backend.html#approveByToken
For communication between a page and a html iframe, then see about the html api and onMessage/postMessage here:
https://www.wix.com/corvid/reference/$w.HtmlComponent.html
https://www.wix.com/corvid/reference/$w.HtmlComponent.html#onMessage
https://www.wix.com/corvid/reference/$w.HtmlComponent.html#postMessage
For storage, have a look at the storage api here:
https://www.wix.com/corvid/reference/wix-storage.html