-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "auth0_clients" data source for listing multiple clients with filtering #1080
base: main
Are you sure you want to change the base?
Conversation
This fixes #784 |
@devin-brenton Thank you so much for this PR. This is great! That should be all of this PR. :) |
There are a couple of minor linting issues ( |
@devin-brenton what do you think of moving this to the client directory? An example of how we usually do it is in organization. The files would probably be named |
I like that idea. Could help clean things up a bit by keeping it all in one package. |
@acwest I've moved the files into the client package and tests look good on my end. I'm having trouble understanding why the test is failing in the pipeline. I'm running the acc tests against a test tenant I spun up. |
🔧 Changes
This PR adds a new data source
auth0_clients
that allows retrieving a list of clients from Auth0 with optional filtering capabilities. This complements the existingauth0_client
data source which only returns a single client.Key features:
auth0_clients
name_filter
: Filter clients by name (partial matches supported)app_types
: Filter by application typesis_first_party
: Filter for first-party clientsImplementation notes:
auth0_client
data source but removes fields that aren't commonly needed in list operationsclient_aliases
logo_uri
oidc_conformant
oidc_backchannel_logout_urls
organization_usage
organization_require_behavior
cross_origin_auth
cross_origin_loc
custom_login_page_on
custom_login_page
form_template
require_pushed_authorization_requests
mobile
initiate_login_uri
native_social_login
refresh_token
signing_keys
encryption_key
sso
sso_disabled
jwt_configuration
addons
default_organization
compliance_level
require_proof_of_possession
Example usage:
🔬 Testing
To run the tests:
📝 Checklist
auth0_client
data sourceAdditional Notes: