How can we pass the the Skyvia connect credentials(user,password) that have been setup in the Odata service in requests?
Odata service credentials
- Last Post 10 December 2018
Users section allows to create user and password credentials which will be allowed to access your endpoint. These credentials can be specified either in the pop-up window when accessing endpoint in the browser or directly in the settings for external data sources when accessing endpoint from different tools, for example, Salesforce Connect:
We will post here if any news regarding this sceanrio is available.
Ok, So cant we use the same type of authentication when we are using REST API to access the OData.
We would be accessing the same endpoint and if user/pwd are setup then we should be able to pass as request headers for authentication?
Sorry for the misunderstanding, I did not get your question correctly. Skyvia Connect supports HTTP Basic Authentication. In case of Basic Authentication:
1) the username and the password must be combined with a colon - testuser:testpwd
2) the resulting string is base64 encoded - dGVzdDp0ZXN0
For example, if you are using test as the userid and test as the password, then the field's value is the base64-encoding of test:test, or dGVzdDp0ZXN0. Then the Authorization header will appear as:
Authorization: Basic dGVzdDp0ZXN0
Is that what you were looking for?