DarkCat09 / python-aternos

[UNMAINTAINED] Unofficial Aternos API written in Python
https://pypi.org/project/python-aternos/
Apache License 2.0
92 stars 12 forks source link

Logging in using headers and cookies. #8

Closed fschatbot closed 2 years ago

fschatbot commented 2 years ago

Before you implement google auth why don't you let people log in using cookies and token? I have cookies and token however I cannot log in as the account is registered using google. I snooped around your code and turns out your scrap the token and cookie so why not ask it directly form the client if he can provide it?

DarkCat09 commented 2 years ago

OK, I will try to implement one of this features as soon as possible. Receiving Google OAuth token is not so hard. The simplest way to solve your problem now is to create one more account using E-mail instead of Google OAuth and give access to the server from the main account to the new one.

fschatbot commented 2 years ago

I am currently doing that, but it's better if you add this feature it might just make life more bearable!

TheCornflake commented 2 years ago

Hi was wondering if you know what's wrong with my code? I have posted it as an issue here

DarkCat09 commented 2 years ago

You can log in with session cookie using Client.from_session(str) after releasing v.0.6. Token is not needed.