flytreeleft / nexus3-keycloak-plugin

Sonatype Nexus plugin for Keycloak integration
Apache License 2.0
107 stars 81 forks source link

Avoid double slashes in URL #38

Closed peschmae closed 4 years ago

peschmae commented 4 years ago

Keycloak generates the auth-server-url with a trailing slash in newer versions, which leads to URIs with double slashes.

Since the requests results in an error, we get Null responses as described in #34

This pull request just makes sure to remove double slashes when concatenating auth-server-url with the path.

Fixes #34

flytreeleft commented 4 years ago

@peschmae Thank you so much! :+1: