Skip to content

add oauth2 support#81

Merged
kochetkov-ma merged 2 commits intokochetkov-ma:masterfrom
amanone:add-oauth2-support
Jan 29, 2024
Merged

add oauth2 support#81
kochetkov-ma merged 2 commits intokochetkov-ma:masterfrom
amanone:add-oauth2-support

Conversation

@amanone
Copy link
Copy Markdown
Contributor

@amanone amanone commented Jan 26, 2024

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 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 🙏

amanone and others added 2 commits January 26, 2024 01:21
- fix environment variable name in Dockerfile. from non-standard name PROFILE to conventional SPRING_PROFILES_ACTIVE
- update README.md
@kochetkov-ma kochetkov-ma merged commit ddf2cbb into kochetkov-ma:master Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants