-
Notifications
You must be signed in to change notification settings - Fork 4
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
Charge point basic authentication #7
Comments
@philippbruhin if you configure the setting like this, the websocket URL will be set look like this |
this repository does not directly use the ts-ocpp ws implementation, but I think it will be usable if you use the setting that I added |
Hi @shiv3 , Thank you so much for implementing this feature! I really appreciate your effort. Unfortunately, as you anticipated, it didn't work on my end. Please see following screenshot for reference: Thanks to the links you provided my summarized learnings are: 1. Browser Limitation: 2. OCPP Server Expectation (Header vs URL): OCPP servers expect the Authorization header, not credentials embedded in the WebSocket URL. This is because:
I’ll look into a solution that works outside of the browser, for example https://github.com/matth-x/MicroOcppSimulator. Feel free to close this issue. By the way, do you work a lot with OCPP? I’d love to stay in touch and exchange ideas, as I am working on similar projects. Is there any way to contact you? Best regards, |
@philippbruhin Yes, I usually use OCPP to develop EV charger systems (as a side job tho). |
Dear @shiv3, Thank you for sharing this valuable project with the community!
I noticed that it's possible to add the WebSocket URL under the settings. Is there a plan to support OCPP passwords as well? I couldn't find any implementation details regarding this in the ts-ocpp repository. However, OCPP defines basic authentication as option:
Open Charge Point Protocol JSON 1.6, OCPP-J 1.6 Specification
The text was updated successfully, but these errors were encountered: