Creating an OIDC Connection Fails with "options.issuer is required" Error

Overview

When trying to create an Azure Active Directory (AD) or Google Workspace Open ID Connect (OIDC) connections via CLI or Dashboard, different discovery URLs throw the same error: 

Bad Request: "options.issuer" is required

The discovery URL returns the "issuer" field.

Applies To

  • OIDC Connection

Cause

Azure AD Connections

Google Workspace

  • The URL https://accounts.google.com/.well-known/openid-configuration endpoint does not advertise response_modes_supported.

Solution

Azure AD Connections

Using the Microsoft Common URL (https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration) is not something the custom OIDC connection supports. The {tenantid} within the issuer is indeed considered invalid.

Google Workspace

  • Use options.type: "back_channel" when creating a Google Workspace OIDC Connection.

Recommended content

No recommended content found...