Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

while using open crud adapter with a secret secured prisma react-admin doesn't ask for authentication and crashes with invalid token #3008

Closed
dpereira411 opened this issue Mar 14, 2019 · 1 comment

Comments

@dpereira411
Copy link

What you were expecting:
Setup react-admin auth provider to fetch a JWT token that would be then used by the data provider to connect to Prisma

What happened instead:
React admin crashed with wrong Prisma token (during GraphQL introspection)

Steps to reproduce:
Setup Prisma with secret token and setup react admin with openCRUD adapter

Other information:
Maybe I'm missing something, or is there a way to wait for auth provider before data provider initialization? I couldn't find it

@Kmaschta
Copy link
Contributor

Kmaschta commented Mar 17, 2019

Sorry but, if you have issues with ra-data-opencrud, you'd better to open an issue on this repository: https://github.com/Weakky/ra-data-opencrud

This is a third-party library supported by the community, and not by the react-admin core team.

If you take a look at the repo above, you'll find some similar issues:

Moreover, as explained in the react-admin contributing guide, the is a better place to ask a "How To" question, get usage advice, or troubleshoot your own code, is Stack OverFlow.

This makes your question easy to find by the core team, and the developer community. Unlike GitHub, Stack Overflow has great SEO, gamification, voting, and reputation. That's why we chose it, and decided to keep GitHub issues only for bugs and feature requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants