From: Jeroen van Veen <jvanveen@protonmail.com>
To: "galene@lists.galene.org" <galene@lists.galene.org>
Subject: [Galene] Anonymous login?
Date: Tue, 15 Feb 2022 19:29:16 +0000 [thread overview]
Message-ID: <6NUMnQ6UolsGpVtRa-3_yHMSNzrxAO3opWh6lwZ7PvTw3cRpxT_Z8t0ng-DGlgTjp7IYPV9ZCaG-LYUPFSUbrJw0qSjk9usBBdPOOeK42-g=@protonmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 830 bytes --]
Hi,
I'm trying to figure out how to use anonymous group logins with groups that have 'allow-anonymous' set to true.
The docs at galene.org say that logging in without a username should work. Currently I'm first connecting with:
awaitthis.connection.connect(url)
Then in the onconnected event, it does:
this.connection.onconnected = () => {
app.logger.info('[connected] connected to Galène websocket')
app.$s.user.id = this.connection.id
constgroupName = app.router.currentRoute.value.params.groupId
this.connection.join(groupName, username, password)
}
I'm using an empty string for both username and password. However, in the onJoined event, it says: "not authorised" for the group.
Any idea what I'm missing here? I also tested with the Galene client, which returns the same response (not authorized).
kind regards,
Jeroen
[-- Attachment #2: Type: text/html, Size: 5038 bytes --]
next reply other threads:[~2022-02-15 19:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-15 19:29 Jeroen van Veen [this message]
2022-02-18 14:17 ` [Galene] " Juliusz Chroboczek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.galene.org/postorius/lists/galene.lists.galene.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='6NUMnQ6UolsGpVtRa-3_yHMSNzrxAO3opWh6lwZ7PvTw3cRpxT_Z8t0ng-DGlgTjp7IYPV9ZCaG-LYUPFSUbrJw0qSjk9usBBdPOOeK42-g=@protonmail.com' \
--to=jvanveen@protonmail.com \
--cc=galene@lists.galene.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox