How to have customised login for each app inside a tenant

I’m having two applications inside a tenant. I want to implement customize login for those applications. The first app should have certain signup form fields and the second app should have a different set of form fields. But, when adding custom field it showing on the two apps signup. I cannot differentiate two apps? How to do it?

Hi @dev28

Do the user databases overlap? If not, you could have two tenants, one per app, and that would solve the problem.

If there is some reason to use a single tenant, you can use the config.clientId to figure out which client invoked the login flow.