Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OAuthOptions = new OAuthAuthorizationServerOptions
- {
- TokenEndpointPath = new PathString("/Token"),
- Provider = new ApplicationOAuthProvider(PublicClientId),
- AuthorizeEndpointPath = new PathString("/api/Account/ExternalLogin"),
- AccessTokenExpireTimeSpan = TimeSpan.FromDays(14),
- // In production mode set AllowInsecureHttp = false
- AllowInsecureHttp = true
- };
- /Token/userName=johndoe%40example.com&password=1234&grant_type=password
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement