maqduni / aspnetcore.identity.ravendb Goto Github PK
View Code? Open in Web Editor NEWRavenDB user/role persistent store for ASP.NET Core identity provider
License: MIT License
RavenDB user/role persistent store for ASP.NET Core identity provider
License: MIT License
There is an issue regardingthe method RemoveClaimAsync
the following code fails because the list that is enummerated will change during execution.
var claims = role.Claims.Where(c => c.ClaimValue == claim.Value).
foreach (var c in claims)
{
role.Claims.Remove(c);
}
Throws
System.InvalidOperationException: 'Collection was modified; enumeration operation may not execute.'
I'll try to provide a PR to resolve this
in a new asp.net core web application (.net framework)
i get this error.
Could you please make this compatible with ravendb client 4.2.0 ?
Create an RC for RavenDB-4.0.0-nightly-20171031-0500
When using the UserManager I can create users but I can't retrieve them. Any of the FindBy... return null.
by type: 'System.Net.Http.WebRequestHandler'. Derived types must either match the security accessibility of the base type or be less accessible.
I get this on ALL ravendb operations (query/store,...)
any idea what this might be ?
(dont worry, think its not directly related to this project, just hoping you mightve encountered this before)
i do this in startup/configure
var newRole = new IdentityRole { Name = "Admin" };
var result = await roleman.CreateAsync(newRole);
if (result.Succeeded)
{
var user = new ApplicationUser();
user.UserName = "jos";
user.Email = "******";
string userPWD = "******";
var res= await userman.CreateAsync(user, userPWD);
if (res.Succeeded)
{
var added=await userman.AddToRoleAsync(user, "Admin");
}
yet, i cant use this user to log in ,
and the role isnt assigned in the user nor the role document ?
Publish it to NuGet repo as well
UserStore.GetUsersForClaimAsync()
UserStore.FindByLoginAsync()
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.