You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Introduction

UAEPass with OpenID Connect Directory Manager isn't any different with using okta, google or any other provider. Below is the flow how it would be if you have successfully implemented it.
With clicking the login, you would be redirected to the next image.

Figure 1: Login screen

Figure 2: Additional Login page using OpenID Directory manager with UAEPass


Upon successfully login in with your register id, email or phone you would be getting a push notification on your UAE Pass mobile application to confirm your identity.

Figure 3: Push Notification in mobile

After confirming it with your mobile app you are in.

Pre-requisites

Above is the things a company need to have in order to achieve the above flow. FIrst, a company need to submit appropriate document to the government for onboarding. Second they need to have the necessary information and even an account with UAE Pass. Finally they need to have the UAE Pass mobile application on their mobile device.

But for this tutorial, we only will be using the staging credential and staging app.
Below is the necessary stuff if you want to follow along.

So that is all the necessary stuff that you would need and below is the configuration.

Configuration

Figure 4: Plugin Configuration


So if you already chooses the UAEPass issuer in your OpenID connection, you could insert with the endpoints and the testing credentials that has been given before.
And you would need the response types supported scope and state that is left blank. The last part would be tricky but not that hard.
To find the scope, state and response types supported would be here.


We are going to dissect the URL. So below is the full URL (it is an image) it. We just need to copy the response_type, scope and state(the highlighted ones) values and we are good to go. 

Figure 5: Authentication URL

After filling all up your form would be looking like the image below

Figure 5: Form completed

And you have come to an end to this tutorial. That would be all. Feel free to try it out and comment away if you need help with anything.

Sample Configuration

Attribute

Value

Issuer

UAEPass

Authorization Token Endpoint

https://stg-id.uaepass.ae/idshub/authorize

Token Endpoint

https://stg-id.uaepass.ae/idshub/token

User Info Endpoint

https://stg-id.uaepass.ae/idshub/userinfo

Response Type Supported

code

Client ID

sandbox_stage

Client Secret

sandbox_stage

Scope

urn:uae:digitalid:profile:general

State

HnlHOJTkTb66Y5H

  • No labels