Skip to main content

OData OAuth

To add an OData connection to the connection library in Ouvvi select the OData option from the list.

OData Option

This will open the connection page where you need to start by entering a name for the connection and an optional description. You then need to define the API by entering the Service URL, the Authentication type needed and then configure the credentials.

There are two authentication types available: OAuth2 Authentication and Windows Authentication. If the API requires windows authentication then you will need to enter the username and password required to connect.

If the API requires OAuth then you will need to complete the fields as described in the table below. What is required in each field will depend on the API you are connecting to. The screen capture shows an example of connecting to GraphAPI with the OData connector.

OData

ParameterValue
Authorise URLThe URL to authorise the connection.
Token URLThe URL to get the token.
Client IDThe client ID needed to connect.
Client SecretThe client secret needed to connect.
ResourceThe resource to connect to (if required).
ScopeThe scope.
Grant TypeThe grant type to use e.g. authorization_code
PromptFor Microsoft resources you can use select_account to pick the account to authorise or you can leave blank to use the current signed in user
info

Make sure you register the redirect URL e.g.http://localhost:58699/settings/connections/edit/[name] with your service provider.

To save the connection click Authorise, the browser will redirect to authenticate the connection and if it is successful the connection will appear in the Ouvvi Connection Library list.