Advertisement
Guest User

Untitled

a guest
Jul 29th, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. OAuthOptions = new OAuthAuthorizationServerOptions
  2. {
  3. TokenEndpointPath = new PathString("/Token"),
  4. Provider = new ApplicationOAuthProvider(PublicClientId),
  5. AuthorizeEndpointPath = new PathString("/api/Account/ExternalLogin"),
  6. AccessTokenExpireTimeSpan = TimeSpan.FromDays(14),
  7. // In production mode set AllowInsecureHttp = false
  8. AllowInsecureHttp = true
  9. };
  10.  
  11. /Token/userName=johndoe%40example.com&password=1234&grant_type=password
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement