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

WHIP authorization / authentication ? #188

Closed
ian-kelling opened this issue Apr 4, 2024 · 1 comment
Closed

WHIP authorization / authentication ? #188

ian-kelling opened this issue Apr 4, 2024 · 1 comment

Comments

@ian-kelling
Copy link

I followed the WHIP instructions in the FAQ, which didn't say anything about authentication, and predictably, it failed, galene output the following:

2024/04/04 02:49:14 WHIP: not authorised: file does not exist
2024/04/04 02:49:14 HTTP server error: not authorised: file does not exist

@jech
Copy link
Owner

jech commented Apr 7, 2024

WHIP only support token authentication (Section 4.5.1 of draft-ietf-wish-whip). You need to obtain a token and configure your WHIP client to use it.

The simplest way is to log into the group as an op, then choose invite user in the group menu (click on your own user name in the users list). This will generate a link that ends in "?token=XXX". The value after "token=" is your token.

(Another solution is to use stateless tokens, which are cryptographically signed. Finally, in Galene 0.9 it will be possible to obtain tokens using a REST-like API.)

@jech jech closed this as completed Apr 12, 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

No branches or pull requests

2 participants