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

Add UserInfoHandler for dynamically fetching username+password #1599

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

Conversation

btoews
Copy link

@btoews btoews commented Apr 1, 2024

We have a situation where the user's credentials may have changed by the time a reconnect is being attempted. This PR adds the ability to specify a callback for fetching the current user credentials.

btoews added a commit to superfly/flyctl that referenced this pull request Apr 1, 2024
This required forking NATS. I'm trying to get the changes upstreamed in
nats-io/nats.go#1599
btoews added a commit to superfly/flyctl that referenced this pull request Apr 1, 2024
This required forking NATS. I'm trying to get the changes upstreamed in
nats-io/nats.go#1599
Signed-off-by: btoews <benjamin.toews@gmail.com>
@btoews
Copy link
Author

btoews commented Apr 2, 2024

Force pushed to add a sign off since the contributing guidelines ask for it.

btoews added a commit to superfly/flyctl that referenced this pull request Apr 4, 2024
This required forking NATS. I'm trying to get the changes upstreamed in
nats-io/nats.go#1599
btoews added a commit to superfly/flyctl that referenced this pull request Apr 8, 2024
This required forking NATS. I'm trying to get the changes upstreamed in
nats-io/nats.go#1599
btoews added a commit to superfly/flyctl that referenced this pull request Apr 8, 2024
This required forking NATS. I'm trying to get the changes upstreamed in
nats-io/nats.go#1599
btoews added a commit to superfly/flyctl that referenced this pull request Apr 8, 2024
* clean up go.mod formatting

* allow config struct to be watched for changes on disk

* cordination between agent and foreground cmd to keep tokens updated in both

* use current tokens when reconnecting to NATS

This required forking NATS. I'm trying to get the changes upstreamed in
nats-io/nats.go#1599

* debounce config change notifications
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