-
Notifications
You must be signed in to change notification settings - Fork 9
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
Credentials module doesn't validate required endpoints #54
Comments
What do you mean exactly ? As of now, endpoints are secured by the implementation of Lines 62 to 64 in 6f0acea
The secureFilter is that method in ocpi-toolkit/ocpi-toolkit-2.2.1/src/main/kotlin/com/izivia/ocpi/toolkit/common/HttpUtils.kt Lines 261 to 284 in 6f0acea
The ocpi-toolkit/transport/src/main/kotlin/com/izivia/ocpi/toolkit/transport/TransportServer.kt Lines 17 to 24 in 6f0acea
It is used by every OCPI module server implementation. Example in Lines 39 to 51 in 6f0acea
|
Oh, sorry. I'm talking about the required endpoints from the other platform. From the documentation:
|
For that to be implemented, we would need to add a nullable parameter that would be something like "expectedEndpoints". If this is set, during client registration, we need to stop it if the expected endpoints are not available on the receiver |
…points feat(credentials) #54: validate required endpoints
The platforms may require some endpoints to be available on the other platform.
I'm requesting proposals for approaches to implement it.
The text was updated successfully, but these errors were encountered: