> For the complete documentation index, see [llms.txt](https://docs.uaepass.ae/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uaepass.ae/web-registration/endpoints/1.-authorization-code.md).

# 1. Authorization Code

### Step 1: Login page

Open the below url to initiate the web registration

```
https://stg-registration.uaepass.ae/?acr_values=urn:digitalid:authentication:flow:mobile&client_id={client_id}&redirect_uri=https://stg-selfcare.uaepass.ae/auth/signed-in&response_type=code&scope=openid&ui_locales=en
```

**Step 2 :** Once the Web registration flow is completed, Service Provider will receive the Authorization code.

```
https://dubai.dubai.ae/auth/auth-return?code=2194f1a7-40c2-3eab-a294-933615af3e42&session_state=4613fc0003155edcccc09e5c99b4890829dd06d54c8fc2fb3517b791607c54ef.3DYTwVF-vhlpBrO6XD356A
```
