abauzac / realworld-netcore-kit

Starter kit for new RealWorld framework implementations
https://realworld.io
MIT License
22 stars 4 forks source link

Authentication #2

Open abauzac opened 7 years ago

abauzac commented 7 years ago

Based on some recommandations I got, we might use IdentityServer4 for authentication and JWT.

Some useful resources :

https://forums.asp.net/t/2110800.aspx?Identity+and+Jwt+How+does+it+all+fit+together+ https://identityserver4.readthedocs.io/en/release/quickstarts/6_aspnet_identity.html

If there is anything to add, do not hesitate ;)

abauzac commented 7 years ago

More resources : https://dev.to/samueleresca/developing-token-authentication-using-aspnet-core

As said, there is no native support for token generation in netcore. So the problem here is : should we use a third party lib to handle this (like IdentityServer suggested in the MSDN ) or implement a token generator middleware as described in the article