Authentication
Authentication is the process by which your application acquires access rights to Resamania APIs. There are several methods for obtaining these authorizations, depending on the particular conditions for accessing them. For example, a mobile application will not access data in the same way as a repository synchronization between 2 servers.
Before you start
Before you can interact with the APIs and request authorizations, you must have registered your application with Resamania. To do this, please get in touch with your sales contact.
Understanding the authentication process
Resamania implements the OAuth 2.0 standard. This allows a third party (your application) to ask an authentication server (the OAuth server) for authorization to access the data of a club (Resamania). If your application is authorized, the OAuth server provides you with an access token. This is a string of characters that implements the JWT standard (JSON Web Token) and serves as your access key. You will then present this access token to the Resamania APIs.
An access token has a restricted scope of access from several angles. Firstly, it allows access to a limited list of resources previously established when you registered your application. Secondly, the scope can be restricted, in certain cases of use, to data linked directly to the con