Hi,
I am trying to authenticate against the Milestone API Gateway using an external IdP (e.g., Keycloak), but I cannot find any documentation that explains the required authentication flow.
The only relevant example I found is the OAuthLoginFlow sample:
From what I understand, the process is roughly:
- Obtain an access token from the external IdP.
- Submit that token to the Milestone
/IDPendpoint. - Receive a Milestone-issued token.
- Use that token to access the API Gateway.
However, the sample only shows code and does not explain the protocol itself. To understand the implementation, I would basically have to reverse-engineer the sample and guess which claims, scopes, audiences, and attributes are required.
Additionally, the endpoint “/IDP/.well-known/openid-configuration” does not provide enough information to understand the complete flow.
Is there any official documentation describing:
- External IdP integration (especially Keycloak)?
- Required token claims and mappings?
- Token exchange with Milestone IDP?
- Service account / machine-to-machine authentication scenarios?
I received the OAuthLoginFlow sample from Bo EllegĂĄrd Andersen (Milestone Systems), which was helpful, but it is not sufficient to implement an external IdP integration without further documentation.
Any guidance or documentation would be greatly appreciated.
Thanks!