payloadcms / payload

The best way to build a modern backend + admin UI. No black magic, all TypeScript, and fully open-source, Payload is both an app framework and a headless CMS.
https://payloadcms.com
MIT License
20.99k stars 1.26k forks source link

fix: return exp and strategy from auth #6943

Closed denolfe closed 2 days ago

denolfe commented 2 days ago

Expiration and strategy were not being properly sent using the useAuth hook.