dsuryd / dotNetify

Simple, lightweight, yet powerful way to build real-time web apps.
https://dotnetify.net
Other
1.17k stars 164 forks source link

(Question) Core Identity #138

Closed skyleraustin closed 5 years ago

skyleraustin commented 5 years ago

Do you foresee this playing well with JWT + ASP.NET Core Identity out of the box? I see that your example projects are using custom JWT authentication middleware and a flavor of an Authorize attribute filter, but I am curious if you expect them to adapt well to the OOB Identity management/services.

dsuryd commented 5 years ago

Hi, it's certainly desirable to make this library supports features that will increase its value to wider audience. I would love to get your feedback on the specific real-world use cases that you think this library should address.

skyleraustin commented 5 years ago

When dealing with user management use cases (register, login, confirm email, reset password, etc), it is certainly nice to use Microsoft’s prepackaged Identity services rather than writing from scratch. I am assuming they could be hooked into through middleware and filters similar to the ones you have supplied (assuming the MS Authorize filter relies on MVC). I would like your thoughts, otherwise I will try a POC and let you know how it goes.

dsuryd commented 5 years ago

I don't have much experience with the prepackaged Identity services. It would be great if you could start a POC, then we can discuss and resolve issues along the way.

skyleraustin commented 5 years ago

Circling back for posterity - POC proved successful. Can add more detail and/or link to sample repo in the future.