Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2017
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. var result = await client.GetTokenAsync(new ResourceOwnerTokenRequest
  2. {
  3. ClientId = auth0ClientId,
  4. ClientSecret = auth0ClientSecret,
  5. Scope = "openid profile",
  6. Realm = "Username-Password-Authentication", // Specify the correct name of your DB connection
  7. Username = model.Email,
  8. Password = model.Password
  9. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement