You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CredentailModel is like
But in Source code it is like
Here "value" property in user object is not defined in documentation
"user": {
"type": "UserName",
"value": {
"UserName": "testuser",
"Password": "password"
}
}
Not sure how to pass credentials of opc server as this is not described in documentation.
Expected behavior
It should browse the OPC Simulation server.
Screenshots
Desktop (please complete the following information):
@marcschier Thank you its working ,is there any way where we can generate these json input for rest endpoints ,will be very helpful.
However thanks for you quick response, should i close this issue?
marcschier
changed the title
Unable to Authenticate to Matrikon OPC Server while calling Browse rest API endpoint
Credentials types and authentication API needs to be better documented and available in openapi swagger
Jan 10, 2024
Unable to Authenticate to Matrikon OPC Server Simulation Server while calling Browse rest API endpoint.
Calling http://opcpublisher:80/v2/browse/first or http://localhost:80/v2/browse/first.
Successfully hitting the rest API endpoint however got error of invalid user/password.
To Reproduce
Getting error Username password invalid.
we want to use /v2/browse/first or /v2/browse as per openapi document
https://github.com/Azure/Industrial-IoT/blob/main/docs/opc-publisher/openapi.json
As per documentation https://github.com/Azure/Industrial-IoT/blob/release/2.9.3/docs/opc-publisher/definitions.md#credentialmodel
CredentailModel is like
But in Source code it is like
Here "value" property in user object is not defined in documentation
"user": {
"type": "UserName",
"value": {
"UserName": "testuser",
"Password": "password"
}
}
Not sure how to pass credentials of opc server as this is not described in documentation.
Expected behavior
It should browse the OPC Simulation server.
Screenshots
Desktop (please complete the following information):
Additional context
Please share the example request to call http://localhost:80/v2/browse/first or http://localhost:80/v2/browse or any historical data related API.
In continuation with previous clarification needed ,more info can be found on below issue
#2146
The text was updated successfully, but these errors were encountered: