Closed rtpHarry closed 4 years ago
Thanks for letting me know! 🌺
I previously didn't include an example output because it can vary a lot, depending on the token type (custom/ID), the authentication method and the stored user information in the Auth database, but I just added an example output with a disclaimer. Also, I didn't point out that this is justâ„¢ a JWT.
I hope I've now made up for it with the updated README, please let me know if you think it could be made better!
Maybe it's just me not knowing enough PHP but it was tricky to know what the reply was when my api was running on a server. I had to write a custom api route to just dump it out (and figure out if I should have been using
headers()
orpayload()
)An example of the
payload()
array in the documentation would have helped eg: