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

Basic auth support #100

Closed
bre7 opened this issue Apr 4, 2018 · 4 comments
Closed

Basic auth support #100

bre7 opened this issue Apr 4, 2018 · 4 comments

Comments

@bre7
Copy link

bre7 commented Apr 4, 2018

Is there a way to authenticate using user/password ? (For Heroku's Redis service)

@pedantix
Copy link
Member

pedantix commented Apr 4, 2018

Yes! Sort of...I use redis labs, and in their connection string you get a password, iirc heroku does the same thing. No username because the redis protocol doesn’t account for it. I plan on doing a PR to document it better once my PR that switches RedisConfig to URL based connection strings goes through. RedisConfig, takes a password as an optional variable, currently.

@bre7
Copy link
Author

bre7 commented Apr 4, 2018

Yeah, I did try using RedisConfig but wasn't working correctly. Will report back

👍 Worked, though I'm now hitting

[ ERROR ] RedisError.serverSide: ERR Protocol error: expected '$', got '+' (RedisDataDecoder.swift:50) 😢

@bre7 bre7 closed this as completed Apr 5, 2018
@pedantix
Copy link
Member

pedantix commented Apr 5, 2018

I'll look into this sorry.

@bre7
Copy link
Author

bre7 commented Apr 5, 2018

Thanks. I’ll provide a sample project if you want (using free dynos)

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

2 participants