--
You received this message because you are subscribed to the Google Groups "Keycloak Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keycloak-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/keycloak-dev/70b0f900-43c7-43e0-84f6-8e2b92f99fa3n%40googlegroups.com.
Yes, localhost might resolve to something else than 127.0.0.1 (which would be rather bizarre though). But please consider that localhost is not just 127.0.0.1 but actually 127.0.0.0/8. I use that quite frequently to avoid port conflicts during development.
Cheers,
Ingo
From: 'Thomas Darimont' via Keycloak Dev <keyclo...@googlegroups.com>
Sent: Samstag, 21. August 2021 13:15
To: Stian Thorgersen <st...@redhat.com>
Cc: Keycloak Dev <keyclo...@googlegroups.com>
Subject: Re: [keycloak-dev] Restrictions for redirect urls
***CAUTION: This email came from an external source, outside of our organization. Do not click on links or open attachments unless you are sure about where it comes from and know the content is safe. Xovis IT***
To view this discussion on the web visit https://groups.google.com/d/msgid/keycloak-dev/CAK-7U1hyFNHiR%2BG0bRXLpuy2LjDrHix0mCg0cgXHsj94DY3zLw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/keycloak-dev/CAJgngAeJvKuCHqf4U5omCQYEe0EcPHUttJAtVCb6CR5qgqTiuw%40mail.gmail.com.
> Keycloak already supports both http://localhost and http://127.0.0.1 as "special URIs" that allow any port.Aha! I didn't know that the port is ignored for localhost/127.0.0.1 :)So a client could register a allowed redirect_uri for http://127.0.0.1/callback and Keycloak would accept callbacks to http://127.0.0.1:8080/callback, http://127.0.0.1:1234/callback and so on? Cool!