Closed nelsonchen90 closed 5 years ago
hey! do you mean https://github.com/netlify/gotrue-js supporting oauth providers? because i dont think it does. or what do you mean official library?
in general, for oauth providers that netlify doesn't support as a first class citizen, you'll have to use a serverless function: https://www.netlify.com/blog/2018/07/30/how-to-setup-serverless-oauth-flows-with-netlify-functions--intercom/
@sw-yx Hi! thanks for the reply! I meant this https://github.com/netlify/netlify-identity-widget . it supports oauth providers like Google/github etc.
ahh. yeah it is possible, i just havent coded it yet 😅 we will have to port over this bunch of code: https://github.com/netlify/netlify-identity-widget/blob/ece08ed2a3653adcad87cf3998277362e362da60/src/state/store.js#L99-L119
cc @nelsonchen90 https://react-netlify-identity-widget.netlify.com/?#
@sw-yx thanks for the update!
Does this React wrapper support external oauth providers like the official library?