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
{{ message }}
This repository has been archived by the owner on Oct 29, 2021. It is now read-only.
The given Auth combinator takes care of authentication. It would be nice if servant-auth (or servant) allowed to easily write a custom combinator MyAuth that used servant-auth-server for authentication, but then also took care of authorization, where
Server (MyAuth:> api) ~MyUser->Server api
The HasServer instance would yield 401s for missing or invalid authentication and 403 for insufficient privileges.
The text was updated successfully, but these errors were encountered:
The given
Auth
combinator takes care of authentication. It would be nice ifservant-auth
(orservant
) allowed to easily write a custom combinatorMyAuth
that usedservant-auth-server
for authentication, but then also took care of authorization, whereThe
HasServer
instance would yield401
s for missing or invalid authentication and403
for insufficient privileges.The text was updated successfully, but these errors were encountered: