ueberauth_google
ueberauth_google copied to clipboard
Handle client side flow for google auth.
Use ueberauth_google with client side flow, when user just passes token to server.
Any updates on this? I’m running into issues with my spa + api because of this.
@blakedietz Sorry for the delays, I'll look over things and see where they stand. In the mean time @yordis or @hassox do you have any further questions or concerns?
@doomspork as long as I don't depends of Plug.Conn
because when you use GraphQL/Absinthe
I don't have access to such of thing so.
@doomspork @yordis Should I proceed with removing %Plug.Conn{} reference on this PR. reference is also present here -> https://github.com/rohanpujaris/ueberauth_google/blob/master/lib/ueberauth/strategy/google.ex#L34
Let me know if we want to remove it from above code as well?
@rohanpujaris dont worry about it for now.
@ueberauth/developers just roll with what we have right now so when we introduce token workflow we go back to all the providers and we take care of the use case
@yordis why would we want to remove the Conn
ever? If you want to fetch the user without the Conn
just call Ueberauth.Strategy.Google.OAuth.get/2
(which is already public) and you're done.
@scrogson yes but, details like those
- https://github.com/ueberauth/ueberauth_facebook/blob/3fa42abb3b09e54e606c402944c798ea7f83e669/lib/ueberauth/strategy/facebook.ex#L135
- https://github.com/ueberauth/ueberauth_facebook/blob/3fa42abb3b09e54e606c402944c798ea7f83e669/lib/ueberauth/strategy/facebook.ex#L138
and returning the same ueberauth data structure back is why I wouldn't do the request myself.
Outside, yes just call the API directly.
is it not planned to have this merged?
@rohanpujaris / @ueberauth/core — where is this PR at? What do we need to do to finish getting this merged? @yordis how does this impact the proposed changes you'd like to make?
There are multiple ways to implement this, the only issue going for this route is the dependency with Plug.Conn
which I guess is fine for now, but people in Absinthe land and other situations where they don't have a Plug.Conn
can't use the feature.
Can we get this merged?
Hi! What is the plan for this PR?
@ueberauth/developers I completely lost track of this, my apologies. Any thoughts?
I am no longer working on Elixir and PhoenixFramework. If anybody wants to take this forward, feel free to do so.