I have added the jwt gem to gem file. I can successfully perform a login request, and receive an Authorisation token. I then use the authorisation token to return the User Object. This works fine in development.
However, in production, I am unable to get the User Object using the authorisation token. I receive the message: No verification key available.
My searches led me to this but this is for devise-jwt I also came across this but it wasn't so helpful.
The information from heroku logs --tail --app stag
isn't really helpful
2020-11-25T20:15:30.493583+00:00 app[web.1]: I, [2020-11-25T20:15:30.493522 #4] INFO -- : [398a1a9c-fae2-454a-b991-5a922a679103] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.07ms)
2020-11-25T20:15:30.493805+00:00 app[web.1]: I, [2020-11-25T20:15:30.493736 #4] INFO -- : [398a1a9c-fae2-454a-b991-5h922a679973] Completed 422 Unprocessable Entity in 1ms (Views: 0.5ms | Allocations: 1356)
Any help on this will be appreciated, thanks.