Depending on the authorization method that you use, you can request your API user's details. Adform uses OAuth 2.0 authorization standard that provides two authorization methods to support different application types: client credentials authorization method and authorization code method. You can retrieve your user's information only if you're using the authorization code method, which is the default when an application has a back-end and multiple users.
With Security & Authorization API, you can retrieve user profile information of the authenticated user.
To start working with Security & Authentication API, you need:
-
Adform user account.
-
The following scopes assigned to your OAuth client by Adform Support (technical@adform.com):
-
openid
: Allows to identify the authenticated user by their UUID (sub
parameter).Important
The
openid
scope required to use this API isn't compatible with client credentials method. -
profile
: Grants access to user profile information.
-
Note
If you don't have an OAuth client yet, follow the procedure in Get Authentication Credentials for Adform APIs to register one.