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 User Identity with HybridConnectionListener #101

Open
lor1mp opened this issue Jan 29, 2025 · 0 comments
Open

Support for User Identity with HybridConnectionListener #101

lor1mp opened this issue Jan 29, 2025 · 0 comments

Comments

@lor1mp
Copy link

lor1mp commented Jan 29, 2025

I'm trying to use an Azure Relay to do some local web service testing. This is using a modified HybridConnectionReverseProxy from the examples. The modification is to use some of the Azure.Identity features (similar to ManagedIdentity) as a TokenProvider. I have a wrapper that will use any TokenCredential, such as DefaultAzureCredential. It's effectively the same implementation as the ManagedIdentityTokenProvider. I can successfully retrieve a token, but the listener.OpenAsync call gets an exception WebSocketException: The server returned status code '500' when status code '101' was expected..

It seems like this type of token isn't supported. We're trying to move away from secrets, so support for this would be very helpful.

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

No branches or pull requests

1 participant