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

Support for ephemeral credentials #1033

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

luis-claro
Copy link

@luis-claro luis-claro commented Apr 18, 2023

Currently, SIP.js uses the provided credentials to authenticate during the entire session. However, if we want to have ephemeral credentials, we need a way to rotate these credentials during the same session to perform reREGISTER operations.

The goal of this pull request is to improve SIP.js in order to provide a way to obtain credentials in a more dynamic way, i.e. allowing to provide a function that will return the appropriate credentials whenever the (re)authentication is required.

ℹ️ This change was already submitted and approved in the PR #941 but it was never released. I believe it was somehow lost when the default development branch was moved from master to main .

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

1 participant