How to achieve two password policy for different users in same connection

I want to implement two password policy for different users. I mean i want if users comes from application name abc i want to implement password policy 1 for password and when user comes to register from application name xyz i want to enforce password policy 2. would you please help me here how to get this functionality.

1 Like

Hi @rashid779939
That’s not possible. Password policies apply to a DB connection (collectively a set of users) and not to an app. If you want different password policies, and those two sets of users are clearly different, then you can use two different DB connections.
If, on the other hands, you want the same set of users using the two applications, you would be in trouble if a user signs up in one app and then tries to use the other, where the password policy would be different.

3 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.