For the Auth0 integration, I don't feel comfortabl...
# prisma-whats-new
b
For the Auth0 integration, I don't feel comfortable putting the ClientID and Client Secret on the Client side. What are some ways to hide this information when I bundle via webpack? Or what are some solutions to keep this information hidden?
n
@be4r oh, you should not put the client secret in the client at all
@be4r where did you read that?
b
sorry about the confusion
actually reading through this
i guess all we have to provide is the network uri
actually yes i do include the clientId
but clientId is fine right?
n
yes simple smile
a
Client Id = used together with domain so Auth0 knows which account/app to authenticate for Client secret = used to validate tokens sent from auth0 to a server, so the server knows to accept the token
That's why Graphcool needs to know the client secret, and you only need to configure domain/client id in your app