1. Core Concepts
  2. Authentication

Core Concepts

Authentication

In order to make requests to the API, you need to use an API key.

You can find and manage your API keys in the access keys section of your OFAuth dashboard.

Don't expose your API key to the public. This key should only be used from a server and not from the browser. Your key may be revoked if it is found to be compromised.

Accessing the API

You can access the API using any HTTP client. Below is an example using curl:

terminal
        curl "https://api.ofauth.com/rules" -H "apiKey: YOUR_ACCESS_KEY"