---
title: "Construct authorisation url to authenticate the end-user"
method: GET
path: "/oidc/auth"
tags: ["auth"]
---

# Construct authorisation url to authenticate the end-user

`GET /oidc/auth`

## Request

- Base URL: `https://identity.moneyhub.co.uk`
- URL: `https://identity.moneyhub.co.uk/oidc/auth`
- Auth: API key in header `Authorization`

## Query parameters

- `request_uri` string
- `client_id` string, required
- `scope` string, required
- `redirect_uri` string, required
- `response_type` 'code' | 'id_token' | 'token' | 'code id_token' | 'code token' | 'id_token token' | 'code id_token token', required
- `request` string, required
- `state` string
- `prompt` 'none' | 'login' | 'consent' | 'select_account'

## Other responses

- `302`: A successful or erroneous authentication response
- `403`: Unsuccessful Response - Invalid claims - Invalid scopes

## Changes

- **2026-11-03** `e004d9ee1fdb`: 2 warning
  - removed the optional property `id` from the response with the `403` status
  - removed the optional property `userId` from the response with the `403` status

[Operation history](https://skmtc.dev/moneyhubenterprise/apis/moneyhub-identity-service/changes/oidc/auth/get.md)

---

[API](https://skmtc.dev/moneyhubenterprise/apis/moneyhub-identity-service.md) - [All operations](https://skmtc.dev/moneyhubenterprise/apis/moneyhub-identity-service/llms.txt) - [OpenAPI document](https://skmtc.dev/moneyhubenterprise/apis/moneyhub-identity-service/revisions/e004d9ee1fdb?raw)
