Skip to content

Add UserInfoHandler for dynamically fetching username+password#1599

Open
btoews wants to merge 1 commit intonats-io:mainfrom
btoews:userinfo-cb
Open

Add UserInfoHandler for dynamically fetching username+password#1599
btoews wants to merge 1 commit intonats-io:mainfrom
btoews:userinfo-cb

Conversation

@btoews
Copy link
Copy Markdown

@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
Copy Markdown
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.

1 participant