Add support for tenant members
ForsakenHarmony opened this issue ยท 3 comments
Description
Would be nice to be able to configure auth0 tenant members, currently have to add admins to every tenant individually by going through the settings
New or Affected Resource(s)
- auth0_member / auth0_tenant
Potential Terraform Configuration
resource "auth0_member" "member" {
email = "hello@example.com"
role = "admin"
}
or something like
resource "auth0_tenant" "tenant" {
member {
email = "hello@example.com"
role = "admin"
}
}
Community Note
- Please vote on this issue by adding a ๐ reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Unfortunately Auth0 Management API does not provide any way of managing tenant members. Support also confirmed that there are no APIs currently available for this and suggested I file a feature request for it.
So I did that: https://community.auth0.com/t/management-api-support-for-managing-tenant-members/71086
Maybe everyone interested in this could chip in the above feature request to show that this feature is wanted? Once that is (hopefully) developed, it should be more straightforward to add support to the provider.
Of course, we could use the same API the dashboard uses, but it uses completely different authentication mechanism than the Management API. One would need to login with their username+password+MFA to use those endpoints. Plus the API dashboard uses is undocumented as far as I know and thus could change at any time.
Hello folks, apologies for the late reply on this issue. As @mnylen mentions unfortunately this is not yet available under the Management API and as such we aren't able to add support for this yet.
Furthermore this repository has moved under the Auth0 org at https://github.com/auth0/terraform-provider-auth0 and we will continue to maintain it over there and add this feature as soon as it's available in the Management API.
For now I'll be closing this down.
Oh, was it not possible to transfer the repo directly?