https://github.com/ealsur/auth0documentdb
Sample repository for Auth0 & Azure DocumentDB integration
https://github.com/ealsur/auth0documentdb
asp-net-core auth0 authentication azure-documentdb
Last synced: about 1 month ago
JSON representation
Sample repository for Auth0 & Azure DocumentDB integration
- Host: GitHub
- URL: https://github.com/ealsur/auth0documentdb
- Owner: ealsur
- Created: 2016-09-18T03:40:00.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-24T16:36:46.000Z (about 8 years ago)
- Last Synced: 2025-03-18T11:38:18.784Z (about 1 month ago)
- Topics: asp-net-core, auth0, authentication, azure-documentdb
- Language: C#
- Size: 37.1 KB
- Stars: 13
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://auth0.com/blog/documentdb-with-aspnetcore/).
It includes an ASP.NET Core Web application with a [appsettings.json](https://github.com/ealsur/auth0documentdb/blob/master/appsettings.json) file you need to configure with your account settings:
```javascript
{
"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}"
}
}