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.
Hi, I am new to servant and, implicitly, servant-auth. I managed to get the code running in my local instance. However, I am still not clear on how to use the code to protect resources. Would it be possible to provide a more complete example - having user creating accounts or token + defining protected/unprotected endpoints? I do see in the current example code calling
localhost:7249/name -v
However, I still do not see where that is defined, i.e. Thanks for your help.
The text was updated successfully, but these errors were encountered:
Thank you for your help. I also found that :<|> serveDirectory "example/static" was moved to last in the route as well. (it was the first argument before). Now I have got it working. Thanks again.
Hi, I am new to servant and, implicitly, servant-auth. I managed to get the code running in my local instance. However, I am still not clear on how to use the code to protect resources. Would it be possible to provide a more complete example - having user creating accounts or token + defining protected/unprotected endpoints? I do see in the current example code calling
localhost:7249/name -v
However, I still do not see where that is defined, i.e. Thanks for your help.
The text was updated successfully, but these errors were encountered: