Skip to content

Instantly share code, notes, and snippets.



Last active Jul 20, 2020
What would you like to do?
public IActionResult Login([FromForm]LoginFormViewModel viewModel)
var authClient = new AuthenticationApiClient("<your domain>");
var authUrl = authClient.BuildAuthorizationUrl()
.WithClient("<your client id>")
.WithScope("openid offline_access")
return Redirect(authUrl);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment