Galène videoconferencing server discussion list archives
 help / color / mirror / Atom feed
From: Juliusz Chroboczek <>
To: "Michael Ströder" <>
Subject: [Galene] Re: Help with JWT
Date: Tue, 26 Oct 2021 23:10:55 +0200	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

>> I'm currently working on third-party authentication for Galene using JWTs
>> ("OAuth2" for those of you who like fancy enterprise acronyms),

> Better stick to "OpenID Connect" (short "OIC" or "OIDC") right from the
> beginning (see It's kind of
> a well-defined OAuth2 profile for user data.

Sorry, perhaps I should not have mentioned OAuth2.  I'm implementing
a simple and hopefully secure protocol based on JWT that will allow people
to write their own authentication servers in 100 lines of Python.  The
hope is that this will avoid the need to do e.g. LDAP integration in
Galene itself.

I am not interested in implementing hundreds of pages of beauracratic
rules unless they actually improve security.

> Then you should look into what you receive in an ID token:

This appears to mandate the use of OAuth2 client ids, which I'm not
implementing unless someone explains to me what actual attacks they
protect against.

>> 4. I'm planning to implement HS256 and ES256.  We good?

> Abstract from algorithms as much as possible, make it
> configurable. Support PKCE. Again, use a library.

Certainly not -- that's how you become the victim of downgrade attacks.

-- Juliusz

  reply	other threads:[~2021-10-26 21:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-26 19:12 [Galene] " Juliusz Chroboczek
2021-10-26 19:47 ` [Galene] " Michael Ströder
2021-10-26 21:10   ` Juliusz Chroboczek [this message]
     [not found] ` <>
2021-11-03 19:10   ` graillot

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:

  List information:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \
    --subject='[Galene] Re: Help with JWT' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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