Using OAuth Authentication
Use the OAuth authentication standard to connect to SAP HANA XSA V3 API. You can authenticate with a user account. The connector facilitates this as described below.
User Accounts
The user account flow requires the authenticating user to interact with SAP HANA XSA via the browser.
Creating a Custom OAuth App
You will need to create a custom OAuth app to connect to data. See Creating a Custom OAuth App for a procedure.
Custom Credentials
You can register an app to obtain the OAuthClientId and OAuthClientSecret.
When to Create a Custom OAuth App
Web Applications
You need to create a custom OAuth app in the web flow.
Desktop Applications
You will need to create a custom OAuth app to connect.
Headless Machines
In the headless OAuth flow, users need to authenticate via a browser on another machine. You will need to create a custom OAuth app to connect.
Using a Service Account to Connect to SAP HANA XSA
Service accounts have silent authentication, without user authentication in the browser. You can also use a service account to delegate enterprise-wide access scopes to the connector.
You need to create an OAuth application in this flow. You can then connect to SAP HANA XSA data that the service account has permission to access. See Custom Credentials for an authentication guide.