Skip to content
This repository has been archived by the owner. It is now read-only.
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

Auth0 OAuthProvider for ServiceStack.

Installation

Install-Package Auth0-ServiceStack-OAuthProvider

Usage

Open Web.config file and set the Auth0 settings:

<add key="oauth.auth0.AppId" value="YOUR CLIENT ID" />
<add key="oauth.auth0.AppSecret" value="YOUR CLIENT SECRET" />
<add key="oauth.auth0.OAuthServerUrl" value="YOUR NAMESPACE: https://{tenant}.auth0.com" />

and add the following to your App_Start\AppHost.cs file under the ConfigureAuth method:

var appSettings = new AppSettings();

// Default route: /auth/{provider}
Plugins.Add(new AuthFeature(
	() => new Auth0UserSession(),
	new IAuthProvider[] {
		new Auth0Provider(appSettings, appSettings.GetString("oauth.auth0.OAuthServerUrl"))
	}));

Documentation

For information about how to use ServiceStack with auth0 visit our documentation page.

Issue Reporting

If you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker. The Responsible Disclosure Program details the procedure for disclosing security issues.

Author

Auth0

License

This project is licensed under the MIT license. See the LICENSE file for more info.

About

Auth0 OAuthProvider for ServiceStack

Resources

License

Releases

No releases published

Languages

You can’t perform that action at this time.