-
Notifications
You must be signed in to change notification settings - Fork 1k
custom exchange request attribute/header #533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
+1 for this request. Required for polestar api. Some similarity to #483 |
The main point for doing this from my pov is that the |
+1 for this, |
Given https://datatracker.ietf.org/doc/html/rfc9700#section-2.4 |
Cant send extra attribute in password grant
So, we have to use
Echange
to sendclient_ip
I made http middleware which convert basic authentication to openid token for temporary backward compatibility
server extention read clientIP from attribute.
Server support forwarded request https://github.com/keycloak/keycloak-documentation/blob/master/server_installation/topics/clustering/load-balancer.adoc
But I have no idea how to set exchange request headers
req.Header.Set("X-Forwarded-Proto", "https");
req.Header.Set("X-Forwarded-For", clientIP);
The text was updated successfully, but these errors were encountered: