Skip to content
This repository has been archived by the owner on Dec 31, 2021. It is now read-only.

Avoid double slashes in URL #38

Merged
merged 1 commit into from
Feb 3, 2020
Merged

Conversation

peschmae
Copy link
Contributor

@peschmae peschmae commented Feb 3, 2020

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 flytreeleft merged commit 093da74 into flytreeleft:master Feb 3, 2020
@flytreeleft
Copy link
Owner

@peschmae Thank you so much! 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

java.lang.NullpointerException:null error
2 participants