iFrame
Summary
SkyID allows you to add authentication to almost any application type quickly. This guide illustrates the integration process using the iFrame method (SkyJoy Authentication Form), which smooths user entry points since all user flows are performed in an iFrame embedded in your web/ app.
Check out the demo below:
Before you begin
You need to request domain whitelisting from SkyJoy Team (integration@galaxyjoy.vn). This step ensures that your website's domain is authorized to interact with SkyJoy Authentication service. Contact the SkyJoy Team to obtain your necessary domain information.
Set up your iFrame project
This step-by-step guide helps you to make decisions on the integration flow.
1. Embed the SkyJoy iFrame
Once your domain is whitelisted, you can proceed to embed the SkyJoy Authentication Form into your website.
iFrame URL
Parameters
The following table lists the data attributes with their descriptions:
Sample:
2. Handle the postMessage event from the iFrame
To ensure seamless communication between your website and the SkyJoy Authentication Form, you need to handle the postMessage
event.
Event list
Sample:
3. Customize the iFrame UI (Optional)
If you desire a unique look and feel for the SkyJoy Authentication Form that aligns with your website's design, you can request custom UI customization from the SkyJoy Team.
Last updated