Please let me know if anyone can help me understand.
I am using Universal Login.
There is a sign in link on the login form, but I would like to show it or not, depending on the web screen.
In other words, I want to dynamically control the sign-in link.
Is there a way to do this?
It sounds like you are trying to dynamically land on the signup page instead of login page. Yes, this is possible by specifying the screen_hint=signup query parameter in the login request (`/authorize).
What I want to do is control that if you click the login button from page A, there is a sign up link and if you click the login button from page B, there is no sign up link.
In other words, logging in from page A can both sign in and sign up, but logging in from page B can only log in. This is the request. Can we achieve that with a universal login screen?
It would be possible if you use different database connections for logging in, where one DB has sign-ups enabled, while the other has sign-ups disabled.
This way you can send your users to accordingly by specifying the connection parameter in the login request.