anyone used okta with graphcool ? <https://develop...
# prisma-whats-new
f
anyone used okta with graphcool ? https://developer.okta.com/
m
I have not, but can recommend Auth0 as itโ€™s really fun and easy to use. There are also many tutorials using it, so it should be piece of cake implementing it ๐Ÿ˜„
f
yea but i don't like the hosted UI ๐Ÿ™‚
๐Ÿ˜‚ 1
@matic i don't like it because it's 1 click extra for the user and it redirects (or popup) to another domain outside my site (auth0.com)
m
i see ๐Ÿ™‚, but any 3rd party integration requires redirection to external page afaik. Why donโ€™t you go then simply with email-password authentication, which requires no service at all? ๐Ÿ™‚
f
@matic right, but social login is very important. What about graphcool's facebook solution? I don't think it requires a redirect https://www.graph.cool/docs/tutorials/auth/authentication-with-facebook-for-react-and-apollo-yi9jeuwohl Also maybe http://www.passportjs.org/ can help i think
i wonder how and where passportjs stores it's users though
m
passport stores session in a cookie. Facebook, though, redirects you to its servers after you click
Login with Facebook
button and only returns session token in a URL after successful login.