> ## Documentation Index
> Fetch the complete documentation index at: https://developers.authlete.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Required Scope When response_type Contains id_token

> Technical information about the necessity of including openid in the value of the scope parameter when the response_type parameter contains id_token in an authorization request.

## Overview

When the **response\_type** parameter of an authorization request contains\*\* id\_token **in its value, the** scope\*\* parameter of the request must contains **openid** in its value.

## Detail

When calling the Authlete [/auth/authorization](/api-reference/authorization-endpoint/process-authorization-request)
API, if the **response\_type** in the parameters contains **id\_token**, please make the **scope** parameter contains **openid** in its value.

Otherwise, the API will return the response like below.

```
{
    "type": "authorizationResponse",
    "resultCode": "A004302",
    "resultMessage": "[A004302] The value of 'response_type' (id_token) is not allowed when 'scope' does not contain 'openid'.",
    "action": "BAD_REQUEST",
    "client": ...
}
```
