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

HTTP 403 on auth API #23

Open
Kuba314 opened this issue Oct 11, 2024 · 1 comment
Open

HTTP 403 on auth API #23

Kuba314 opened this issue Oct 11, 2024 · 1 comment

Comments

@Kuba314
Copy link

Kuba314 commented Oct 11, 2024

Describe the bug
When doing any action with the API, an access token has to be acquired through the auth API at https://accounts.lidl.com. However, I'm suddenly getting an HTTP 403 on that API. My refresh token is fresh.

HTML response
<HTML><HEAD>
<TITLE>Access Denied</TITLE>
</HEAD><BODY>
<H1>Access Denied</H1>

You don't have permission to access "http://accounts.lidl.com/connect/token" on this server.<P>
Reference #[REDACTED]
<P>https://errors.edgesuite.net/[REDACTED]</P>
</BODY>
</HTML>

Expected behavior
Access token is received from the auth API and it's used in other calls.

Environment:

  • Python-Version: 3.12.3
  • Release-Version: 0.3.5
  • OS: Windows 11
  • Browser: Firefox
  • Country: cs
  • Language: CZ
@synchrone
Copy link

this is Akamai's BotManager blocking python requests().

Not only it blocks access to oauth configuration, it also prevents the current 2FA confirmation code from being submitted.
Most likely the reliable solution is to replace requests usage with sending xhr through webdriver.

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