-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add security scheme #49
base: WIP-v1
Are you sure you want to change the base?
Conversation
There is so far no security scheme specified in this interoperability standard. As a basis for discussion, the apiKey approach coming from RDEX+ is proposed here. RDEX+ used to propose 2 different schemes. The apiKey scheme is the only one proposed here because in the end, it is simpler to have only one approach, and the first know implementation of this standard (in the https://github.com/fabmob/comptemobi project) is using already apiKey. |
Hi @osarrat , Thanks for the proposal ! Why not use the more conventional naming "X-API-Key" for the header? Also, your description is very specific to 2 endpoints while this authentication scheme apply to nearly all of them. It seems wrong. |
Hi all, Yes I agree too. on MCM gateway project we used the "X-API-Key" header too. |
Fixed ! The |
@osarrat thanks! Could you also remove references to specific endpoints in the description please? |
I understand the underlying reason : to avoid dependency between this description and some routes that may change in the future. |
@osarrat yes I definitely think it would (be better in the description of the specific routes). Thanks for the proposal :) |
I've moved the rule into the description of all routes where it should apply. |
This requirement requires that provider has stored a reference table with X-API-Keys given to each operator and operator DNS names. Provider should be verify the concordance. As discussed in a workshop with @osarrat, this control can be a problem for an intermediate solution like the Mon Compte Mobilité Gateway. Indeed, Gateway obtains an API Key from the provider but offers provider services to other partners like MaaS. |
No description provided.