Skip to content

Conversation

sgirones
Copy link
Contributor

@sgirones sgirones commented May 31, 2019

Implement new auth methods for NATS:

  • user/password auth
  • token auth

More info: https://nats.io/documentation/server/gnatsd-authentication/

Requirement for: https://github.com/netlify/nats-streamer/pull/2

@sgirones sgirones requested a review from rybit May 31, 2019 13:08
@sgirones
Copy link
Contributor Author

sgirones commented Jun 4, 2019

ready to review again @rybit. I had to split the key/cert and CA loading because with the new NATS auth methods, we need the CA but not the client certificate

@sgirones
Copy link
Contributor Author

sgirones commented Jun 6, 2019

@sgirones
Copy link
Contributor Author

sgirones commented Jun 6, 2019

@rybit can you do a final review?

@sgirones
Copy link
Contributor Author

sgirones commented Jun 7, 2019

I verified this code also works with cachecontroller

@sgirones sgirones merged commit 920e809 into master Jun 7, 2019
@sgirones sgirones deleted the nats-basic-auth branch June 7, 2019 08:58
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.

2 participants