Skip to content

[Backport 4.2.x] OIDC Improvements and bug fixes#8767

Merged
ianwallen merged 1 commit into
geonetwork:4.2.xfrom
ianwallen:backport-8761-to-4.2.x
Apr 29, 2025
Merged

[Backport 4.2.x] OIDC Improvements and bug fixes#8767
ianwallen merged 1 commit into
geonetwork:4.2.xfrom
ianwallen:backport-8761-to-4.2.x

Conversation

@ianwallen
Copy link
Copy Markdown
Contributor

Backport #8761
Authored by: @xiechangning20

Added pre-login filter to enable autologin, and restrict guest users
Added configuration for a OAuth2AuthorizedClientManager, which enables refreshing access token
Fixed the check for setting the userNameAttribute in GeonetworkOidcUserService.java and the Client Registration UserNameAttribute configuration in GeonetworkClientRegistrationProvider.java to based on OIDCConfig
Update the postLogoutRedirect endpoint to exclude default port numbers


* Update AudienceAccessTokenValidator.java

Fix logic

* oidc fix

* remove @configuration in OAuth2Config

* add license file header
@ianwallen ianwallen merged commit f16491c into geonetwork:4.2.x Apr 29, 2025
7 checks passed
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