-
Notifications
You must be signed in to change notification settings - Fork 112
Closed
Labels
🪲 bugSomething isn't workingSomething isn't working
Description
Checklist
- I have looked into the README and have not found a suitable solution or answer.
- I have looked into the documentation and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have upgraded to the latest version of this provider and the issue still persists.
- I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- I agree to the terms within the Auth0 Code of Conduct.
Description
Setting enforce_online_refresh_tokens = false for an auth0_client is not reflected in the Management API.
Expectation
GIven the following config:
resource "auth0_client" "my_client" {
name = "My native client"
app_type = "native"
session_transfer {
allowed_authentication_methods = ["query"]
enforce_device_binding = "none"
allow_refresh_token = true
enforce_online_refresh_tokens = false
}
}When I call "Get client by id" in the Management API, I get the following response:
{
"session_transfer": {
"allowed_authentication_methods": ["query"],
"enforce_device_binding": "none",
"allow_refresh_token": true
}
}Note that "enforce_online_refresh_tokens" is missing from the output.
If I call "Update a client" to set "enforce_online_refresh_tokens" to be explicitly false, then the "Get client by id" returns the same response, indicating that this is a bug in the Terraform provider, not in the API.
Reproduction
See above
Auth0 Terraform Provider version
1.36.0
Terraform version
1.5.7
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
🪲 bugSomething isn't workingSomething isn't working