C
C#3mo ago
Alex

✅ redirect url is not passed to request

My custom redirect url is not passed to the url for google oauth. What can I change to fix the problem?
public IActionResult Login()
{
string redirectUrl = "https://localhost:8080/api/identity/signin-google";

AuthenticationProperties properties =
_signInManager.ConfigureExternalAuthenticationProperties("Google",redirectUrl);

return Challenge(properties, "Google");
}
public IActionResult Login()
{
string redirectUrl = "https://localhost:8080/api/identity/signin-google";

AuthenticationProperties properties =
_signInManager.ConfigureExternalAuthenticationProperties("Google",redirectUrl);

return Challenge(properties, "Google");
}
No description
0 Replies
No replies yetBe the first to reply to this messageJoin