TNG / keycloak-mock

A Java library to test REST endpoints secured by Keycloak via OpenID connect.
Apache License 2.0
122 stars 27 forks source link

Feature/use client hostname #42

Closed ostrya closed 4 years ago

ostrya commented 4 years ago

When using the standalone server in a dockerized environment, using 'localhost' as the mock's hostname leads to routing problems. Thus, from now on the hostname as used in the issuer field is extracted from the 'Host' request header.

As mentioned in #36 the merge of mock-junit and mock-junit5 forces library users to pull both JUnit versions into their project as well. Thus, this change also reverts the deprecation of mock-junit5.

sonarcloud[bot] commented 4 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

83.1% 83.1% Coverage
0.0% 0.0% Duplication