You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for this starter project! Being relatively new to Haskell, the structure seems clear and easy to follow with nice separation of concerns.
I would like to integrate the servant-auth library for easy JWT authentication, but whatever I try, I do not get it to compile. Could maybe somebody give me an indication about the general approach that would be necessary?
What I tried:
Thank you for this starter project! Being relatively new to Haskell, the structure seems clear and easy to follow with nice separation of concerns.
I would like to integrate the
servant-auth
library for easy JWT authentication, but whatever I try, I do not get it to compile. Could maybe somebody give me an indication about the general approach that would be necessary?What I tried:
IO
away fromacceptLogin
.Servant.Auth.Server.acceptLogin
Maybe I have approached this all wrong? How would you use JWT authentication without repeating authentication logic for each handler?
The text was updated successfully, but these errors were encountered: