JWT with forms authentication

Posted by Community Admin on 03-Aug-2018 13:52

JWT with forms authentication

All Replies

Posted by Community Admin on 06-Sep-2016 00:00

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

Posted by Community Admin on 06-Sep-2016 00:00

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

 

This thread is closed