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

IRCV3BEARER SASL mechanism for bearer tokens #545

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

slingamn
Copy link
Contributor

This replaces #534, incorporating feedback received there:

  1. Defining a new mechanism IRCV3BEARER instead of reusing PLAIN
  2. IRCV3BEARER still overlaps with OAUTHBEARER, but it's more general, since it supports arbitrary bearer token types including JWTs

@slingamn slingamn changed the title initial draft of IRCV3BEARER IRCV3BEARER SASL mechanism for bearer tokens May 28, 2024
extensions/ircv3bearer.md Outdated Show resolved Hide resolved

## Examples

This is an example of successful authentication with the `jwt` bearer token type:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Presumably the token type is opaque to the client and an implementation detail of the server and/or IdP? The client is merely a bearer of a token, what it is isn't important for it.

Therefore I'd perhaps not call out that it is a JWT token specifically here.

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.

None yet

2 participants