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

Delegated bridge #1

Closed
ramondeklein opened this issue May 12, 2020 · 1 comment
Closed

Delegated bridge #1

ramondeklein opened this issue May 12, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ramondeklein
Copy link
Owner

It should be possible to generate a delegate token to request a bridge. A trusted party -with access to the API key- can request a delegate token for a specific device (optionally with fixed request data). The delegate token has an expiration date and can be used by an untrusted party to setup that specific bridge without access to the API key.

This is useful for scenarios where another service authorizes whether a bridge to a device is allowed. That authoring service checks if the bridge is allowed and requests a delegate token. The delegate token is then returned to the service and/or application that wants to initiate the bridge.

@ramondeklein ramondeklein added the enhancement New feature or request label May 12, 2020
@ramondeklein ramondeklein self-assigned this May 12, 2020
@ramondeklein
Copy link
Owner Author

Delegated bridge is implemented and can be used with /bridge/getSignedUrl and /bridge/connectSigned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant