Albert Heijn: Log In
ah_loginLog in to Albert Heijn: get a login link, then submit the code from the redirect to finish. Returns your account name if already logged in.
Instructions
Log in to Albert Heijn in two steps. 1) Call without arguments: returns the AH login link and instructions to show the user. 2) After the user logs in, the browser shows a link like appie://login-exit?code=...; call ah_login again with code set to that link (or just the code) to finish. Codes are single-use and expire quickly. If already logged in, returns the account name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | The appie://login-exit?code=... link the user copied after logging in, or just the code. Omit to start a login. |