Payload admin bar still not showing in qa environment #8554
Unanswered
KBambharoliya
asked this question in
Q&A
Replies: 1 comment
-
can anyone help me to resolve this issue?? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Link to reproduction
No response
Describe the Bug
I have added payload-admin-bar in payload cms and nextjs frontend. I have setup
CORS and CSRF in payload.config.ts file.
cors: [process.env.PAYLOAD_PUBLIC_SERVER_URL || ''].filter(Boolean),
csrf: [process.env.PAYLOAD_PUBLIC_SERVER_URL || ''].filter(Boolean),
i don't get any errors but /api/users/me data i'm getting null in response. what should i have to set up there.
To Reproduce
I have added payload-admin-bar in payload cms and nextjs frontend. I have setup
CORS and CSRF
cors: [process.env.PAYLOAD_PUBLIC_SERVER_URL || ''].filter(Boolean),
csrf: [process.env.PAYLOAD_PUBLIC_SERVER_URL || ''].filter(Boolean),
i don't get any errors but /api/users/me data i'm getting null in response. what should i have to set up there.
Payload Version
2.13
Adapters and Plugins
No response
Beta Was this translation helpful? Give feedback.
All reactions