post https://auth.viafoura.co/authorize_client
OAuth 2.0 allows for the secure retrieval of resources while protecting user credentials. Viafoura provides an authentication service which is OAuth 2.0 compliant.
To use OAuth 2.0 authentication with Viafoura, the following must occur:
- Obtain a temporary access token by requesting authorization with our OAuth 2.0 compliant server.
- Request a protected resource using the aforementioned access token.
- The resource server will verify the access token before providing the resource.
The token produced is encoded as a JSON Web Token and it is valid for 5 minutes
If the access token has expired, an error will return when requesting the protected resource, and a new access token must be requested.