prisma / prisma-admin-feedback

Feedback for Prisma Admin (currently in invite-only preview)
6 stars 1 forks source link

Cant authrization when the using "managementApiSecret" option. #161

Closed hmmhmmhm closed 4 years ago

hmmhmmhm commented 4 years ago

Spec:

prismagraphql/prisma:1.34

Before the add "managementApiSecret" in docker-compose.yml prisma-admin works normally, and everything is fine.

But when i add managementApiSecret in docker-compose.yml admin page has occurs errors like as below

Your token is invalid. It might have expired or you might be using a token from a different project.

I've already tired set some "PRISMA_MANAGEMENT_API_SECRET" and "PRISMA_SECRET", and i already tested export PRISMA_MANAGEMENT_API_SECRET=my-sec....

and i started this command prisma deploy --env-file .env && dotenv -- node ./dist

All functions work, but only the Manager page does not work. 스크린샷 2020-01-23 오전 3 41 49

hmmhmmhm commented 4 years ago

sorry. problem solved, i used prisma token and gave that code in admin settings. it works... thanks..!