The OAuth2 extension allows site visitors to login through an OAuth2 server. This extension supports integration with multiple OAuth2 providers including FIWARE KeyRock, Google, and other OAuth2-compliant services. Features include: automatic user creation on first login, token management with refresh capabilities, JWT token support, customizable authorization headers, configurable login/register/reset URLs, sysadmin group management, and secure HTTPS-only operation. The extension stores access tokens and refresh tokens in a dedicated database table and provides seamless integration with CKAN’s authentication system. Based on the idea proposed by Etalab.