Note: You are currently viewing the beta version of the docs. Some docs may be inaccurate or incomplete at the moment. Switch to the latest version
JWT Strategy
Payload offers the ability to Authenticate via JSON Web Tokens (JWT). These can be read from the responses of login, logout, refresh, and me auth operations.
In some cases you may want to prevent the token from being returned from the auth operations. You can do that by setting removeTokenFromResponse to true like so: