The OAuth 2.0 Authorization Code Grant involves getting a user confirmation – a so-called consent - before granting an access token to the OAuth client.
The following table explains the major differences between local and remote consent:
| Local consent | Remote consent |
---|---|---|
Supported scopes | The local AS enforces which scopes are supported. | A remote consent server will enforce which scopes are supported. IAM can filter this list of scopes. |
Service | Consent management is implemented entirely in Airlock IAM. | A third-party service implements remote consent. |
Authorization code grant | The OAuth 2.0 client must request a scope that passes validation by the AS. | The remote consent server returns a list of scopes and Airlock IAM accepts this list as correct. |
Client credentials grant | The OAuth 2.0 client requests the scopes. Airlock IAM verifies that the scopes are white-listed. | Remote consent is not required for the client credentials grant. |