--- title: "OpenID Connect Token Request" slug: "openid-connect-token-request" updated: 2024-07-01T18:08:32Z published: 2024-07-01T18:08:32Z canonical: "help.rapididentity.com/openid-connect-token-request" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.rapididentity.com/llms.txt > Use this file to discover all available pages before exploring further. # OpenID Connect Token Request Issue a POST to `/idp/profile/oidc/token` with the following parameters. | Parameter | Type | Description | | --- | --- | --- | | grant_type | String *required* | "authorization_code" | | code | String *required* | The value of the "code" parameter from the previous response. | | redirect_uri | String *required* | The registered callback URL Must match *exactly* the value used in the previous request. | | client_id | String *optional* | The OAuth 2.0 Client Identifier. This is *required* if HTTP Basic Authentication is not used. | | client_secret | String *optional* | The OAuth 2.0 Client Identifier. This is *required* if HTTP Basic Authentication is not used. | As shown in the above table, HTTP Basic Authentication may be used instead of providing *client_id* and *client_secret* as request parameters. In that case the Client ID should be used as the username and the Client Secret should be used as the password.