uaepass-auth
Reactive icon

UAEPass Auth

Stable version 1.0.1 (Compatible with OutSystems 11)
Uploaded
 on 25 Apr
 by 
5.0
 (3 ratings)
uaepass-auth

UAEPass Auth

Documentation
1.0.1

Widgets:

Widget NameDescription
UAEPAssSignIn

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

UAEPassHandler

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.

2. Create a Redirect URL with input parameters: code, state, and error (refer to the demo application for reference). 

3. Add the UAEPassHandler to the redirect page and create an event handler (refer to the demo application).

  • If Response.IsSuccess, authentication is successful.
  • Use UserInfo.Email to locate the user in the database and create a session. If the user is not registered, implement the registration flow based on UserInfo.



1.0.0

Widgets:

Widget NameDescription
UAEPAssSignIn

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.

UAEPassHandler

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.

2. Create a Redirect URL with input parameters: code, state, and error (refer to the demo application for reference).


3. Add the UAEPassHandler to the redirect page and create an event handler (refer to the demo application).

  • If Response.IsSuccess, authentication is successful.
  • Use UserInfo.Email to locate the user in the database and create a session. If the user is not registered, implement the registration flow based on UserInfo.