This PR introduces basic OAuth2 support to the project, enhancing the authentication system to allow users to authenticate using OAuth2 providers such as Google. By default, the security.enable-oauth2 property is set to false, providing flexibility in choosing between OAuth2 and the previous default HTTP_BASIC authentication method.
Changes Made
Added OAuth2 configuration options to the application.yaml file.
Enhanced the security configuration to support OAuth2 authentication.
Introduced the security.enable-oauth2 property for easy toggling of OAuth2 authentication.
Testing done
Just basic testing performed (basic http auth and OAuth2 auth) - code review required 🙏
Description
This PR introduces basic OAuth2 support to the project, enhancing the authentication system to allow users to authenticate using OAuth2 providers such as Google. By default, the
security.enable-oauth2
property is set tofalse
, providing flexibility in choosing between OAuth2 and the previous defaultHTTP_BASIC
authentication method.Changes Made
application.yaml
file.security.enable-oauth2
property for easy toggling of OAuth2 authentication.Testing done