- Notifications
You must be signed in to change notification settings - Fork4
ealsur/auth0documentdb
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This repository acts as sample in a scenario where you want to use Azure DocumentDB as your database and integrate Auth0's authentication service by a custom database scenario.
You can read the complete guide and use case inAuth0's blog.
It includes an ASP.NET Core Web application with aappsettings.json file you need to configure with your account settings:
{"Auth0":{"Domain":"{YOUR_AUTH0_DOMAIN}","ClientId":"{YOUR_AUTH0_CLIENT_ID}","ClientSecret":"{YOUR_AUTH0_CLIENT_SECRET}","CallbackUrl":"{YOUR_CALLBACK_URL}"},"DocumentDb":{"EndpointUri":"{YOUR_DOCUMENTDB_ENDPOINT_URL}","Key":"{YOUR_DOCUMENTDB_PASSWORD}","DatabaseName":"{YOUR_EXISTENT_DOCUMENTDB_DATABASE_NAME}","CollectionName":"{YOUR_EXISTENT_DOCUMENTDB_COLLECTION_NAME}"}}