Form Login Flow
Setup Form Login
-
Prepare your Login Page:
-
Add a Placeholder element where you want your Form to be inserted and give it a unique id:
-
Add this snippet to your HTML code:
Replace
{your-app-id}with your appId and{your-callback-url}with your callback URL From Create Your First App Step. and raplace{placeholder-element-id}with your placeholder element id from the HTML element configured on the previous step. -
Final Code:
Form Parameters
These are the parameters that can be used instartBawabah() function.
Specify the element where you want the login form to be inserted.
Your appId from Create Your First App Step.
Your callback URL from Create Your First App Step.
Specify the width of the login form in pixels - Leave it empty for auto width.
Specify the height of the login form in pixels - Leave it empty for auto height.