Skip to content

Conversation

@l4mby
Copy link
Contributor

@l4mby l4mby commented Aug 6, 2025

In this PR we add the possibility to connect to rabbitmq through oauth2.0 plain.

Usage example:

const environment = createEnvironment({ 
 host, 
 port, 
 username,
 password: "",
 oauth: {
     token: "<my-token>"
}

We also add the possibility to refresh the token for the connection

await connection.refreshToken("new-token-value")

@l4mby l4mby linked an issue Aug 6, 2025 that may be closed by this pull request
@l4mby l4mby marked this pull request as ready for review August 6, 2025 15:10
Copy link
Contributor

@albertobarrila albertobarrila left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@albertobarrila albertobarrila left a comment

Choose a reason for hiding this comment

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

LGTM

@l4mby l4mby merged commit 92a9103 into main Aug 8, 2025
4 checks passed
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.

As a library user I want to connect to RabbitMQ via OAuth2.0

3 participants