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

Fix Albert Heijn API calls & implement OAuth refresh for AH #234

Merged
merged 3 commits into from
Jan 30, 2024
Merged

Fix Albert Heijn API calls & implement OAuth refresh for AH #234

merged 3 commits into from
Jan 30, 2024

Conversation

roel-de-vries
Copy link
Contributor

Fixes Albert Heijn (AH) API error #224.
Also added a simple AH OAuth token refresh system to prevent spamming the auth endpoint each scan.

PHP isn't my main programming language, so please let me know if things need to change!

@Forceu Forceu merged commit 3cc5340 into Forceu:master Jan 30, 2024
1 check failed
@Forceu
Copy link
Owner

Forceu commented Jan 30, 2024

Thank you very much for your pull request! I added error handling for barcodes with 20 or more characters and merged the PR :)

@roel-de-vries roel-de-vries deleted the fix-ah-api branch January 31, 2024 08:42
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

Successfully merging this pull request may close these issues.

2 participants