{"id":16318501,"url":"https://github.com/panoukos41/couchdb-identity","last_synced_at":"2026-04-28T01:32:03.077Z","repository":{"id":53083641,"uuid":"340978325","full_name":"panoukos41/couchdb-identity","owner":"panoukos41","description":"CouchDB Storage Provider for ASP.NET Core Identity","archived":false,"fork":false,"pushed_at":"2021-04-07T12:42:53.000Z","size":100,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-01T04:48:52.603Z","etag":null,"topics":["aspnetcore","couchdb","csharp","dotnet","identity"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/panoukos41.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-21T18:52:54.000Z","updated_at":"2021-04-07T12:41:54.000Z","dependencies_parsed_at":"2022-09-12T11:14:47.160Z","dependency_job_id":null,"html_url":"https://github.com/panoukos41/couchdb-identity","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/panoukos41/couchdb-identity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panoukos41%2Fcouchdb-identity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panoukos41%2Fcouchdb-identity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panoukos41%2Fcouchdb-identity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panoukos41%2Fcouchdb-identity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/panoukos41","download_url":"https://codeload.github.com/panoukos41/couchdb-identity/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panoukos41%2Fcouchdb-identity/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32362781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aspnetcore","couchdb","csharp","dotnet","identity"],"created_at":"2024-10-10T22:23:43.924Z","updated_at":"2026-04-28T01:32:03.062Z","avatar_url":"https://github.com/panoukos41.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AspNetCore.Identity.CouchDB\n\n[![Release](https://github.com/panoukos41/couchdb-identity/actions/workflows/release.yaml/badge.svg)](https://github.com/panoukos41/couchdb-identity/actions/workflows/release.yaml)\n[![NuGet](https://buildstats.info/nuget/AspNetCore.Identity.CouchDB?includePreReleases=true)](https://www.nuget.org/packages/AspNetCore.Identity.CouchDB)\n[![License](https://img.shields.io/github/license/panoukos41/couchdb-identity)](https://github.com/panoukos41/couchdb-identity/blob/main/LICENSE.md)\n\n[CouchDB](https://couchdb.apache.org/) identity store provider for the [ASP.NET Core Identity](https://github.com/dotnet/aspnetcore/tree/main/src/Identity) using [CouchDB.NET](https://github.com/matteobortolazzo/couchdb-net).\n\nThe UserStore implements the following Interfaces:\n- IQueryableUserStore\n- IUserStore\n- IUserPasswordStore\n- IUserSecurityStampStore\n- IUserEmailStore\n- IUserPhoneNumberStore\n- IUserRoleStore\n- IUserClaimStore\n- IUserLoginStore\n- IUserTwoFactorStore\n- IUserAuthenticatorKeyStore\n- IUserLockoutStore\n\nThe RoleStore implements the following Interfaces:\n- IQueryableRoleStore\n- IRoleStore\n- IRoleClaimStore\n\nThe project was insipired from the existing [AspNetCore.Identity.Cassandra](https://github.com/lkubis/AspNetCore.Identity.Cassandra) implementation.\n\n# Before Getting started\nThis project was made in a hurry and was live tested on a really simple application so some things might not work as expected. Feel free to open an issue and even a pull request.\n\nI will try my best to support the project and provide tests and samples whenever i find time.\n\nThanks for looking at this library 😄\n\n# Getting Started\n\nBy default a database named `identity` is used but you can change it using the options overload.\n\nYour [CouchDB](https://couchdb.apache.org/) database must implement the [ddoc.json](ddocs/ddoc.json) in the [ddocs](/ddocs) folder.\n\nAt your `Startup.cs` add your `ICouchClient` in DI and use the following code.\n```csharp\nusing AspNetCore.Identity.CouchDB.Models;\n\n// Configure Identity stores and services.\nservices.AddIdentity\u003cCouchDbUser, CouchDbRole\u003e()\n        .AddCouchDbStores();\n```\n\nOr you can provide your own instance of `ICouchClient` in the options.\n```csharp\n// Configure Identity stores and services.\n// With custom client.\nservices.AddIdentity\u003cCouchDbUser, CouchDbRole\u003e()\n        .AddCouchDbStores(options =\u003e options\n            .UseClient(new CouchClient(\"http://localhost:5984\")));\n```\n\nYou can also customize the `design document` and `views` used by the library. More information as to what a view returns and when can be found in the [ddocs](/ddocs) fodler.\n\n```csharp\nservices.AddIdentity\u003cCouchDbUser, CouchDbRole\u003e()\n        .AddCouchDbStores(options =\u003e options\n            .UseViewOptions(new CouchDbViewOptions\n            {\n                Document = \"identity\";\n                User = \"user\";\n                UserNormalizedUsername = \"user.normalized_username\";\n                UserNormalizedEmail = \"user.normalized_email\";\n                UserRolesNormalizedName = \"user.roles.normalized_name\";\n                UserClaims = \"user.claims\";\n                UserLogins = \"user.logins\";\n                Role = \"role\";\n                RoleNormalizedName = \"role.normalized_name\";\n            })));\n```\n\nServices are *registered as Singleton* since `ICouchClient` is/should be registered as such and no other dependency is needed.\n\n# LICENSE\nThe project is Licensed under the MIT License see the [LICENSE](LICENSE.md) for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpanoukos41%2Fcouchdb-identity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpanoukos41%2Fcouchdb-identity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpanoukos41%2Fcouchdb-identity/lists"}