has anyone used auth0 and managed to get it to wor...
# prisma-whats-new
c
has anyone used auth0 and managed to get it to work with subscriptions? I'm passing it in the connectionParams: { authToken } but it still thinks I'm not authenticated
a
@cj Read somewhere you need a special name for the parameter to pass the token. Can't remember what it was though
Found it:
Copy code
connectionParams: {
    Authorization: `Bearer ${myToken}`
  }
I guess the tutorial needs to be updated
c
awesome, that did it, thank you. I forget about the forums, I'll have to check those from now on
a
Searched here on slack for 'subscriptions authorization' and it came up. 😉
c
I'll submit a pull request for the tutorial code so it's updated 🙂
💪🏻 1
a
The search feature here is underrated 🙂
c
ha, I always search slack first, I searched for
auth0 subscriptions
and just didn't find anything 🙂
👍🏻 1
a
Guess I got lucky then 🙂
c
makes sense they eventually unified the params for simple and subscription. I probably would have tried that if I could hear myself think over my girls screaming LOL
thanks again 🙂
a
That sounds cool, but I could be getting it totally wrong of course 😉
I guess the fact you're busy with auth tokens answers my own question 😉