Skip to content

Instantly share code, notes, and snippets.

@rfaisal
Created January 13, 2014 20:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rfaisal/8407089 to your computer and use it in GitHub Desktop.
Save rfaisal/8407089 to your computer and use it in GitHub Desktop.
//other stuff
OAuthOptions = new OAuthAuthorizationServerOptions
{
TokenEndpointPath = new PathString("/Token"),
Provider = new ApplicationOAuthProvider(PublicClientId, UserManagerFactory),
AuthorizeEndpointPath = new PathString("/api/Account/ExternalLogin"),
AccessTokenExpireTimeSpan = TimeSpan.FromDays(14),
AllowInsecureHttp = true
};
//other stuff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment