auth-js
auth-js copied to clipboard
Support id_token grant flow
Feature request
Is your feature request related to a problem? Please describe.
A new way of signing users in via OAuth was introduced with this PR of gotrue. It would be nice if we could add a way of utilizing this endpoint with this library so that native apps built with react native could utilize it.
Describe the solution you'd like
OAuth sign in flow on native apps should use POST /token?grant_type=id_token
end point to sign in.
Describe alternatives you've considered
Currently OAuth sign in is possible by redirecting the user to web view from a native app.
Additional context
N/A
@dshukertjr Hi Tyler, do you know when this feature will be integrated? or do you have a rough timeline? thanks in advance, Andy
@megacherry Great question!
@kiwicopple Now that the backend is ready for this, do we have anything else that needs to be in place before we add this feature to the client?
cc @kangmingtay
@dshukertjr Do you have any new information about this issue? :)
@kiwicopple @kangmingtay @phamhieu @dshukertjr @megacherry
I have created a pull request that resolves this issue. Please review and merge.
It looks like your pr was merged in ? Should this be closed now? @koba-ninkigumi
Closing as this is already supported.