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

Matrix: Allow token only client API authorization with token parameter #1236

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

voc0der
Copy link

@voc0der voc0der commented Nov 11, 2024

Description:

Related issue (if applicable): #
N/A

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • No lint errors (use flake8)
  • 100% test coverage

Description

When a token is passed and the url version is token we force it out of T2/Webhook mode and just pass the token as authentication instead.

Test out the changes with the following command:

#encrypted
apprise -t "Test Title" -b "Test Message" \
  matrixs://[email protected]?v=token

#unencrypted
apprise -t "Test Title" -b "Test Message" \
  matrix://[email protected]?v=token

where `mct_xxxxxxxxxxxxxxxx` is your header authorization bearer token for matrix.

@voc0der voc0der changed the title Matrix: Allow token only for V2 API with ?token. Matrix: Allow token only client API authorization with with ?token parameter Nov 11, 2024
@voc0der voc0der changed the title Matrix: Allow token only client API authorization with with ?token parameter Matrix: Allow token only client API authorization with token parameter Nov 11, 2024
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