Skip to content
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

Add configuration option for app service auth (header vs. query string) #14415

Closed
matrixbot opened this issue Dec 20, 2023 · 4 comments
Closed

Comments

@matrixbot
Copy link
Collaborator

matrixbot commented Dec 20, 2023

This issue has been migrated from #14415.


Description:

After matrix-org/synapse#13996 we now send the HS token in an authentication header in addition to the legacy query string. It would be good to make this configurable in the AS config, e.g. so that logs which include the query string no longer expose this security token or require manual redaction.

@matrixbot matrixbot changed the title Dummy issue Add configuration option for app service auth (header vs. query string) Dec 21, 2023
@matrixbot matrixbot reopened this Dec 21, 2023
@clokep
Copy link
Contributor

clokep commented Feb 20, 2024

I suspect matrix-org/synapse#16017 fixed this?

@anoadragon453
Copy link
Member

Is it sufficient that the config option is in the Synapse config, rather than the application service registration file, as I understand the original issue to be referring to?

cc @bradjones1 as the original issue author.

@bradjones1
Copy link
Contributor

I believe that matrix-org/synapse#16017 should address the concern of the query string being exposed. I filed that original issue quite a long time ago and I haven't revisited this but looking at the changes throughout 2023 I think that change addresses the original concern. 👍

@anoadragon453
Copy link
Member

Wonderful, thanks for confirming @bradjones1! Closing this issue then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants