Closed nelsonic closed 4 years ago
From the error above, are you sure you don't have a typo:
TokenAuthMvp..verify_and_validate(jwt)
should be TokenAuthMvp.verify_and_validate(jwt)
I'm going to check on my localhost too
I revered to a previous version of the file https://github.com/dwyl/auth-mvp/edit/master/lib/plugs/authenticate_person.ex and it works. 👍
After running
git pull
onmaster
branch andmix deps.get
, I attempted to runmix test
onlocalhost
and got the following error:The line in question
authenticate_person.ex:33
isAuthMvp.Token.verify_and_validate(jwt)
: https://github.com/dwyl/auth-mvp/blob/33af8ec88229c41da7944d5ad589d76ac9717bbd/lib/plugs/authenticate_person.ex#L32-L40I have all the required environment variables listed in
.env_sample
...@SimonLab can you help clarify how to run the project on
localhost
?