How we can set the custom payload on Laravel JWT auth package. The payload means many times we need to store some user related detail in the session when user login. Something like user education, jobs etc.. related data. So we want to store more user related detail on JWT auth token.
Let’s how we can set custom payload on JWT auth token.