auth0 / terraform-provider-auth0

The Auth0 Terraform Provider is the official plugin for managing Auth0 tenant configuration through the Terraform tool.
https://registry.terraform.io/providers/auth0/auth0/latest/docs
Mozilla Public License 2.0
167 stars 86 forks source link

Fix docs for user_id_attribute for AzureAD connection options #1047

Closed acwest closed 1 month ago

acwest commented 1 month ago

The documentation and examples for Microsoft Azure AD connections gave an invalid value for user_id_attribute. The only valid values according to their documentation are sub and oid

🔧 Changes

Updated example for resource auth0_connection for AzureAD

📚 References

https://learn.microsoft.com/en-us/entra/identity-platform/id-token-claims-reference#use-claims-to-reliably-identify-a-user

🔬 Testing

📝 Checklist

codecov-commenter commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 89.37%. Comparing base (48a1d05) to head (1e49ae3).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/auth0/terraform-provider-auth0/pull/1047/graphs/tree.svg?width=650&height=150&src=pr&token=geObb1Hn9E&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0)](https://app.codecov.io/gh/auth0/terraform-provider-auth0/pull/1047?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0) ```diff @@ Coverage Diff @@ ## main #1047 +/- ## ======================================= Coverage 89.37% 89.37% ======================================= Files 126 126 Lines 17462 17462 ======================================= Hits 15606 15606 Misses 1317 1317 Partials 539 539 ```