-
Notifications
You must be signed in to change notification settings - Fork 38
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
Change successRedirectURL #25
Comments
Hey, did you find a solution for this? Thanks |
Nope |
I am also dealing with the same issue. After having a look at the src/index.ts file, I have tried it with
but it seems it does not work. Has anyone found a solution for this? |
You look at the constructor signature: I do it so:
I am spinning up my own local webserver to accept the response.
|
Hi everyone, I just want to share that I found a way to change the Just need to pass it like this. const myApiOauth = new ElectronGoogleOAuth2(
process.env.GOOGLE_CLIENT_ID,
process.env.GOOGLE_CLIENT_SECRET,
[],
{ successRedirectURL: 'https://google.com' },
); |
Is there any non-hacky way to change the successRedirectURL to a custom one or just let it close the window?
Something like:
myApiOauth.openAuthWindowAndGetToken(successRedirectURL="https://localhost/?loginresult=done")
The text was updated successfully, but these errors were encountered: