Hi, I think const authHeader = context.app.$auth.getToken('local')
already includes 'Bearer ', as when I log to console it prints: ‘Bearer XXXXXX’.
Still I tried changing it and then receive:
GET http://localhost:1337/routines/me 401 (Unauthorized)
A 403 is preferred over a 401 right?
Thanks for the quick reply!