Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for oauth.getRedirectResult() #5

Open
joshuascan opened this issue Sep 25, 2023 · 0 comments
Open

Add support for oauth.getRedirectResult() #5

joshuascan opened this issue Sep 25, 2023 · 0 comments

Comments

@joshuascan
Copy link
Member

Is your feature request related to a problem? Please describe.
The current connector has support for social logins via oauth.loginWithRedirect, but does not have support for getting the redirect result.

I was able to manually trigger the getRedirectResult method to call at the appropriate time through a URL query search, but the connector/package should have this integrated into it's functionality, possibly as an option in it's configuration. This workaround also required me to install the @magic-ext/oauth package.

For example, it could look something like this:

oauthOptions: {
          providers: ["google", "twitter", "github"],
          getRedirectResult: true
        },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant