Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
public IActionResult Login([FromForm]LoginFormViewModel viewModel)
var authClient = new AuthenticationApiClient("<domain>");
var authUrl = authClient.BuildAuthorizationUrl()
.WithClient("<client id>")
.WithScope("openid offline_access")
.WithAudience("<api identifier>")
return Redirect(authUrl);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.