Skip to content
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

How to disable dynamic clients ? #727

Closed
chaen opened this issue Mar 12, 2024 · 6 comments
Closed

How to disable dynamic clients ? #727

chaen opened this issue Mar 12, 2024 · 6 comments

Comments

@chaen
Copy link

chaen commented Mar 12, 2024

Hi,

For the time being, tokens are only used for pilot submission, which is a very controlled environment. To make sure we stay in this very controlled situation, and until we have more experience, I would like to be able to disable entirely dynamic client registration.
How can I do this ?
Thanks a lot
Chris

@federicaagostini
Copy link
Contributor

Hi, it is possible to disable anonymous client registration at deployment level, by setting the following property

client-registration:
  allow-for: REGISTERED_USERS

or using the environment variable IAM_CLIENT_REGISTRATION_ALLOW_FOR=REGISTERED_USERS.

@chaen
Copy link
Author

chaen commented Mar 12, 2024

Thanks ! But my understanding of that option is that it does not prevent a lambda user from a VO to create a client. Is that correct ?
What I would like to achieve is that only admins can create client.

@federicaagostini
Copy link
Contributor

Ok, sorry it was not clear to me.

To limit client registration only for admins please set

client-registration:
  allow-for: ADMINISTRATORS 

@chaen
Copy link
Author

chaen commented Mar 12, 2024

Thanks a lot ! I try finding it in the doc but did not manage. Is it just not there or did I miss something ?

@federicaagostini
Copy link
Contributor

You are right, it is not present. We are going to add it.

@federicaagostini
Copy link
Contributor

PR indigo-iam/iam-website#122

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants