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

Non-interactive authorization with Google OAuth2 #59

Open
ektorasdj opened this issue Sep 11, 2023 · 1 comment
Open

Non-interactive authorization with Google OAuth2 #59

ektorasdj opened this issue Sep 11, 2023 · 1 comment

Comments

@ektorasdj
Copy link

ektorasdj commented Sep 11, 2023

Hello everyone, following @oddmario solution i was able to make the app work with my google account. The problem right now is that i want it to run in a server environment without gui or browser access. The problem is i am not able to open the authorization link. Is it possible to set up a non-interactive authorization with google's api service account? If yes can anyone help me with the steps that need to be taken? Thank you

@AnonGhostID
Copy link

AnonGhostID commented Jan 23, 2024

I assume you have SSH access to your server, then you just need to use Windows Terminal.
First after opening the jar files you get the link right? Open the link in your browser (windows).

After granting access, copy the http://localhost:9999/?code=xxx_xxx link.
Then back to your SSH, use curl command.

curl http://localhost:6969/?code=xxx_xxx_xxx

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

2 participants