You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 15, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 15, 2024. It is now read-only.
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.
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.
Activity
[-][enhancement] Add support for Google Login[/-][+]Add support for Google Login[/+]DarkCat09 commentedon May 17, 2022
Hello.
It's too hard or impossible because of OAuth security.
DarkCat09 commentedon May 17, 2022
I'll appreciate if you help me with this feature.
flancast90 commentedon May 17, 2022
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 commentedon May 17, 2022
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_sessionspecifying ATERNOS_SESSION cookie as an argument.flancast90 commentedon May 17, 2022
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.