Is there a way to retreive password complexity settings
without ORG_SETTINGS_MANAGER
?
#7917
-
Hello, I'm implementing myself a password change on my Front-End and currently, only users with the role Also, currently ORG roles can't be set automatically and anyway I don't want to give So, is there a way to get the password complexity settings with the user's token but without This will allow me to make a request to Zitadel, get the settings and create Angular Validators depending on the response of Zitadel without hardcoding anything and risking to be desynchronized. This is why I asked this question #7916 as for now I'm forced to hardcode the regex on my Front-End. When registering a new user, as this is a Zitadel page, I think you retreive infos from somewhere, but we can't if we make our own UI in our Front-End (unless I don't know how). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hei @Yberion You can find the get passwordcomplexity policy in there |
Beta Was this translation helpful? Give feedback.
Hei @Yberion
With the auth api, you are able to make requests with the currently authenticated user.
We have implemented the get Requests for some settings, which should allow you to do exactly what you like to:
https://zitadel.com/docs/category/apis/resources/auth/policies
You can find the get passwordcomplexity policy in there