[keycloak-dev] Integration test: Verify url that was used in an adapter backchannel request

Stian Thorgersen sthorger at redhat.com
Wed Jun 5 11:38:54 EDT 2019


One option could be to use an invalid URL for the front-end URL.

On Wed, 5 Jun 2019, 17:23 Luca Graf, <lucagraf at gmx.de> wrote:

> I currently work on KEYCLOAK-6073 (Support different URLs for front and
> back channel requests in adapters) and try to implement some kind of
> integration test, to verify that an adapter actual use its configured
> url for backchannel requests.
>
> When I understand the existing integration tests correct, it should be
> relative easy to trigger most of the actions that execute backchannel
> requests
> (code-to-token, logout, etc.) with an adapter test
> (AbstractExampleAdapterTest, AbstractServletsAdapterTest). But I don't
> see a straight forward way how to verify the url that was actual used by
> the adapter (in the deployed example or servlet).
>
> Not sure if I am on the right track, so any thoughts on how to approach
> this are appreciated. :)
>
> Thanks
> Luca
>
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>


More information about the keycloak-dev mailing list