Galène videoconferencing server discussion list archives
 help / color / mirror / Atom feed
* [Galene] Anonymous login?
@ 2022-02-15 19:29 Jeroen van Veen
  2022-02-18 14:17 ` [Galene] " Juliusz Chroboczek
  0 siblings, 1 reply; 2+ messages in thread
From: Jeroen van Veen @ 2022-02-15 19:29 UTC (permalink / raw)
  To: galene

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Galene] Re: Anonymous login?
  2022-02-15 19:29 [Galene] Anonymous login? Jeroen van Veen
@ 2022-02-18 14:17 ` Juliusz Chroboczek
  0 siblings, 0 replies; 2+ messages in thread
From: Juliusz Chroboczek @ 2022-02-18 14:17 UTC (permalink / raw)
  To: Jeroen van Veen; +Cc: galene

> I'm trying to figure out how to use anonymous group logins with groups that
> have 'allow-anonymous' set to true.

The allow-anonymous flag only removes the check that usernames are not
empty; it does not otherwise change the authentication.  In practice, it
only has an effect when you have a wildcard entry in your group
configuration:

    {
        'allow-anonymous': true,
        presenter: [{}]
    }

Now that it's possible to kick out an anonymous user (due to the context
menu on the users' list), I'm thinking of making it the default (and
deprecating the flag).

-- Juliusz

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-18 14:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-15 19:29 [Galene] Anonymous login? Jeroen van Veen
2022-02-18 14:17 ` [Galene] " Juliusz Chroboczek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox