JWT with forms authentication
I'm using Sitefinity's default membership provider with forms authentication. I want to start developing microservices but need to authenticate these requests -- I need both the username and roles.
I don't want to pass usernames/passwords each time using the Sitefinity dlls inside the microservices, kind of defeats the purpose of having small services if I have to bundle Sitefnity. I want my microservices to oblivious to Sitefinity.
I've read that JWT (JSON Web Tokens) seem to be the way to go. Can that be done with Sitefinity's forms authentication?
Thanks,
Eric
I use JWT on ServiceStack with custom auth attributes on our services, works well...not with formsauth though, but would it be much different?
github.com/.../JWT-AuthProvider