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

Add support for Google Login #19

Open

Description

@flancast90

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

Activity

  1. changed the title [-][enhancement] Add support for Google Login[/-] [+]Add support for Google Login[/+] on May 17, 2022
  2. DarkCat09 commented on May 17, 2022

    @DarkCat09
    Owner

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

  3. DarkCat09 commented on May 17, 2022

    @DarkCat09
    Owner

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

  4. flancast90 commented on May 17, 2022

    @flancast90
    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.

  5. DarkCat09 commented on May 17, 2022

    @DarkCat09
    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.

  6. flancast90 commented on May 17, 2022

    @flancast90
    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.

  7. pinned this issue on Aug 22, 2022
  8. unpinned this issue on Jun 22, 2023
  9. pinned this issue on Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions