Awesome
Using Azure DocumentDB with Auth0
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 in Auth0's blog.
It includes an ASP.NET Core Web application with a appsettings.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}"
}
}