Skip to content

Conversation

@FabianZihlmann
Copy link

Add forward proxy for checking auth token. Optional proxy could be like http://proxy.domain.com:8080

Description

The http_client is now using a forward proxy if this is configured in the config.toml. So you're able to operate the syncstorage-rs server in a security environment where a server has no direct access to internet.
In this case the server is not able to verify the auth token from for example https://oauth.accounts.firefox.com and the you'll get the follwing error message in the log:
Error requesting remote jwks: error sending request for url (https://oauth.accounts.firefox.com/v1/jwks)

This resolves the follwing isseu #1964

Testing

Add the following line to config.toml
tokenserver.fxa_oauth_request_proxy = "http://proxy.domain.com:8080"

Add forward proxy for checking auth token. Optional proxy could be like http://proxy.domain.com:8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant