-
-
Notifications
You must be signed in to change notification settings - Fork 695
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
Polestar: Change authentication flow to deny cookies #17276
Conversation
@rostbeule / @scyomantion / @andig As mentioned above, I was able to make it run with the following code. Please let me know what you think! |
Nice, I had the same thought earlier. You're capturing both values before and avoid passing param into the function directly. That would have caused issues in my case. I like this approach. In my view, my PR is obsolete then. I did mention somewhere that I wouldn't have time for it until Sunday. The sun isn't shining anyway =D |
I've lost track. Does this now work as-is? |
Co-authored-by: andig <[email protected]>
Co-authored-by: andig <[email protected]>
Co-authored-by: andig <[email protected]>
Co-authored-by: andig <[email protected]>
Co-authored-by: andig <[email protected]>
Thanks for your comments @andig |
Great, thank you! |
* master: (58 commits) Add Huawei EMMA (evcc-io#17338) Config UI: device value formatting (evcc-io#17258) chore: upgrade npm dependencies (evcc-io#17344) chore: fix template Easee: fix PhaseGetter returning used, not configured, phases (evcc-io#17326) chore: refactor MacOS: add gobuildid Script: simplify setters Tariffs: formula, charges, tax > advanced fields (evcc-io#17301) Push: add custom messenger (BC) (evcc-io#17211) Script: add missing string setter (evcc-io#17314) Sofar: fix docs (evcc-io#17324) Polestar: skip test Polestar: fix authentication (evcc-io#17276) chore: fix line breaks chore: fix quotes Add Tessie (evcc-io#17274) PUN: update api endpoint (evcc-io#17270) Revert "EM24: add pv usage & fix energy (evcc-io#17173)" Enphase: fix soc ...
Fix #17186
I took the liberty to create a PR to implement the changes discussed in #17186 and #17252 to speed up the process 😉
Main change is to check for the
uid
and then deny the cookies usingconfirmConsentAndGetCode
I was able to successfully test this with my Polestar 2