Internal supports a number of different authentication standards for connecting to an API (via HTTP data source).
In this method, HTTP requests are sent with one (shared) set of credentials, regardless of who the Internal user may be. Basic authentication details can be provided when you configure your HTTP data source by enabling the checkbox and then providing the username / password.
In this method, HTTP requests are sent with an individual user’s credentials, which are uniquely tied to an Internal user. This can allow you to set up per-user controls on Spaces and simplify access logging. You’ll need to create a new auth provider to set up individual basic authentication.
This method uses OAuth as the authentication provider and is also tied to individual Internal users. Like individual basic authentication, this allows you to set up per-user controls on Spaces and simplify access logging. You’ll need to create a new auth provider to set up individual authentication with OAuth.
Contact us to set up authentication through GraphQL.
Create a custom (multi-step) process to support virtually any kind of API authentication. Contact us to get started.
Go to Company Settings -> Auth Providers. Click the “Add Auth Provider” button.
Name your auth provider and select the standard you want to use:
Next, you’ll want to associate the auth provider with your HTTP data source. Go to Company Settings -> Data & Functions tab.
Select the HTTP data source you want, then choose the authorization provider from the dropdown. If you have multiple environments for a data source, you can specify auth providers per environment.
Spaces that utilize data protected by individual authentication will require users to login using their credentials, before that user can access the Space.
Users can access their Profile (via the top-right dropdown menu) to view the status of their logins. They can also log out here - if there are multiple environments, users can select from a dropdown (one credential per environment for each user).