It seems that the react-apollo-auth0-example repo ...
# prisma-whats-new
h
It seems that the react-apollo-auth0-example repo doesn't work OOTB. Graphcool keeps telling me that "The provided idToken is invalid", even after trying both RS256 and HS256 signature algorithm. Also tried with the auth0-js lib instead of the lock but result is the same. Copying the token provided and creating a user in the playground gives me the same output unfortunately. Anyone came across that issue before? It probably comes from my Auth0 client settings but I kind of tweaked each param individually
m
@hvillain i just barely set up auth0 earlier for a react-native application. same error for me. it ended up being my auth0 client secret. I had to refresh it so that it was no longer base64 encoded
h
It doesn't work after the refresh either, unfortunately 😕
m
bummer!
just for sanity's sake... you updated the graphcool integration for it too, right?
h
ahah, sure
m
well that was the only issue i ran into. sorry i couldnt help!
h
No problem! @nilan any idea?
n
hey @hvillain are you using Lock or auth0-js? It's important to use HS256, meaning for auth0-js that only v7 works, and not v8
h
I was on v8 indeed, managed to downgrade to v7.6.1 and everything is working fine now. I may open a pull request with working examples of both Lock and auth0-js v7 any time soon
❤️ 1
n
great that you got it to work! 🙂 And would love the PRs