Hi Everyone,
Auth0 doesn’t take me to the signup tab.
I have specified the screen hint like this:
AuthenticationProperties authProperties = new AuthenticationProperties();
authProperties.Dictionary.Add("screen_hint", "signup");
authProperties.RedirectUri = "/";
HttpContext.GetOwinContext().Authentication.Challenge(authProperties, "Auth0");
In the Startup
RedirectToIdentityProvider = notification =>
{
if (notification.ProtocolMessage.RequestType == OpenIdConnectRequestType.Authentication)
{
var paramsDictionary = notification.OwinContext.Request.Context.Authentication.AuthenticationResponseChallenge?.Properties.Dictionary;
if (paramsDictionary != null && paramsDictionary.ContainsKey("screen_hint"))
{
notification.ProtocolMessage.SetParameter("screen_hint", paramsDictionary["screen_hint"]);
}
}
The Universal Login takes me to the Login tab:
Wondering if I am doing anything wrong. Any insights would be really appreciated!
Thank you!