Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Add support for Google Login #19

Open
flancast90 opened this issue May 16, 2022 · 6 comments
Open

Add support for Google Login #19

flancast90 opened this issue May 16, 2022 · 6 comments
Labels
enhancement New feature or request

Comments

@flancast90
Copy link

As the title implies, an auth flow using Google would be beneficial for google-using clients.

@DarkCat09 DarkCat09 added the enhancement New feature or request label May 17, 2022
@DarkCat09 DarkCat09 changed the title [enhancement] Add support for Google Login Add support for Google Login May 17, 2022
@DarkCat09
Copy link
Owner

Hello.
It's too hard or impossible because of OAuth security.

@DarkCat09
Copy link
Owner

I'll appreciate if you help me with this feature.

@flancast90
Copy link
Author

Hello. It's too hard or impossible because of OAuth security.

Not really. Google App Passwords allow a simple username/password login without disabling the Secure Apps features. I think the hard part will be determining the token Aternos uses for the Google Login. However, if they keep you logged in, you could attempt a normal OAuth flow, and then see if it's persistent across Aternos.

@DarkCat09
Copy link
Owner

determining the token Aternos uses for the Google Login

Aternos' backend is not open-source.
It doesn't provide any ajax API for logging in with Google.

While the feature is not implemented, use Client.from_session specifying ATERNOS_SESSION cookie as an argument.

@flancast90
Copy link
Author

Aternos' backend is not open-source. It doesn't provide any ajax API for logging in with Google.

Yes, but the args are passed to Google via URL to open the google signin window. If you could determine the token for Google signin, you could use the standard Google OAuth library without any need for Aternos' backend.

@DarkCat09 DarkCat09 pinned this issue Aug 22, 2022
@DarkCat09 DarkCat09 unpinned this issue Jun 22, 2023
@DarkCat09 DarkCat09 pinned this issue Jun 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants