You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As recently as February, when creating an auth0_connection of strategyoidc, I was able to supply only the discovery_url and Auth0 would pull the other settings from the JSON response (authorization_endpoint, jwks_uri, etc.). As of today, when trying to do the same thing, with say, this example config:
Error: 400 Bad Request: "options.issuer" must be a string
It's not until I manually add issuer, authorization_endpoint, and jwks_uri, all of which are present in the response from the discovery URL, that the apply completes successfully. As mentioned previously, this didn't use to be the case, and indeed isn't the case now if I create the connection using the dashboard, where all I have to do is enter the OpenID Connect Discovery URL.
Feels like a potential recurrence of this issue, however given the connection is created fine from the dashboard I'm guessing it isn't a problem with the management API.
Expectation
When discovery_url is provided I expect issuer, authorization_endpoint, and jwks_uri to be extracted automatically
Reproduction
As per the description above 👆
Auth0 Terraform Provider version
1.2.0
Terraform version
1.5.7
The text was updated successfully, but these errors were encountered:
I've only been using this provider for a morning and have already been very frustrated by this.
There is actually a worse level here too. You have to specify discovery_url to create a connection, but, once created you have to remove discovery_url otherwise every plan/apply adds the discovery_url.
╷
│ Error: 400 Bad Request: "options.discovery_url" must be a string
│
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# module.---.auth0_connection.connection will be updated in-place
~ resource "auth0_connection" "connection" {
id = "...."
name = "..."
# (6 unchanged attributes hidden)
~ options {
+ discovery_url = "https://..../.well-known/openid-configuration"
# (38 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
}
Checklist
Description
As recently as February, when creating an
auth0_connection
ofstrategy
oidc
, I was able to supply only thediscovery_url
and Auth0 would pull the other settings from the JSON response (authorization_endpoint
,jwks_uri
, etc.). As of today, when trying to do the same thing, with say, this example config:The management API throws an HTTP 400:
It's not until I manually add
issuer
,authorization_endpoint
, andjwks_uri
, all of which are present in the response from the discovery URL, that the apply completes successfully. As mentioned previously, this didn't use to be the case, and indeed isn't the case now if I create the connection using the dashboard, where all I have to do is enter theOpenID Connect Discovery URL
.Feels like a potential recurrence of this issue, however given the connection is created fine from the dashboard I'm guessing it isn't a problem with the management API.
Expectation
When
discovery_url
is provided I expectissuer
,authorization_endpoint
, andjwks_uri
to be extracted automaticallyReproduction
As per the description above 👆
Auth0 Terraform Provider version
1.2.0
Terraform version
1.5.7
The text was updated successfully, but these errors were encountered: