Nissan integration no longer works
Describe the bug
Since August 28th, the Nissan integration has stopped working because Nissan upgraded their service, apparently making changes to the authentication flow. This has broken third-party integrations such as evcc, Home Assistant, and potentially others.
The Home Assistant integration has released a new version (still in beta) with the updated authentication flow:
- https://github.com/dan-r/HomeAssistant-NissanConnect/releases/tag/v0.8.0-beta.1
- https://github.com/dan-r/HomeAssistant-NissanConnect/releases/tag/v0.8.0-beta.2
Similar changes will therefore be required for the evcc integration to work again.
The impact is that evcc cannot pull data from Nissan anymore. Additionally, all users were required to change passowords at Nissan, and updating password does not work on evcc anymore for Nissan vehicles.
Steps to reproduce
- Configuration
- Add/edit vehicles
- Add/update password
- Validate
Configuration details
This happens for any configs
Log details
Request failed with status code 400.
cannot create vehicle type 'template': cannot create vehicle type 'nissan': login failed: Unauthorized: Authentication Failed.
POST http://192.168.50.11:7070/api/config/test/vehicle/merge/3
What type of operating system or environment does evcc run on?
Docker container
External automation
- [x] I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.
Nightly build
- [x] I have verified that the issue is reproducible with the latest nightly build
Version
No response
Thanks for the report — this is a duplicate of #33315.
The root cause is confirmed: Nissan retired the legacy NissanConnect/ForgeRock login in favour of MyNISSAN OneID, which is what breaks both authentication and password updates for Nissan vehicles in evcc.
This has already been fixed by #33316 ("Nissan: switch to MyNISSAN OneID authentication"), merged into master earlier today. It rewrites vehicle/nissan/identity.go to use the OneID (WSO2) authorization code + PKCE flow, and has been confirmed working by at least one user with a real, migrated Nissan account.
Please pull the latest nightly build (built after this merge) and let us know if the problem persists — if so, feel free to reopen with fresh logs.
🤖 Generated with Claude Code
Oh see there is already an issue open for this.