OpenID-Connect-PHP
OpenID-Connect-PHP copied to clipboard
Make the User-Agent header configurable
I'm trying to call a Keycloak server that returns a 403 Forbidden if the User-Agent
header is not set.
Unfortunately I can't change the server configuration, so that it accepts requests without the User-Agent
header.
Could you allow setting the User-agent
globally so that every request has it?``
Sounds reasonable - feel free to submit a pull request - thx
Ok done https://github.com/jumbojett/OpenID-Connect-PHP/pull/296
fixed by #370