Widgets:
The widget includes the UAE Pass Sign-In Button, allowing users to authenticate via UAE Pass. Additionally,
it requires a redirect URL to be passed, ensuring users are navigated back to the specified location after successful authentication.
SignInImageURL is an optional input parameter that allows you to replace the default login/sign-in button with a custom image. To use it, simply pass the URL of the desired image
SignInImageURL
The widget functions as a handler on the redirect page, triggering an event that provides authentication details and user information upon successful sign-in.
Follow these steps to integrate UAE Pass into your web application.
1. Add the UAEPassSignIn widget to the login or registration page. Once the redirect page is created as outlined in Step 2, pass its URL as the Redirect URL parameter.
UAEPassSignIn
2. Create a Redirect URL with input parameters: code, state, and error (refer to the demo application for reference).
code
state
error
3. Add the UAEPassHandler to the redirect page and create an event handler (refer to the demo application).
Response.IsSuccess
UserInfo.Email
UserInfo
The widget includes the UAE Pass Sign-In Button, allowing users to authenticate via UAE Pass. Additionally, it requires a redirect URL to be passed, ensuring users are navigated back to the specified location after successful authentication.
1. Add the UAEPassSignIn widget to the login or registration page.