[GH-ISSUE #17] http auth support #14

Closed
opened 2026-02-28 01:22:45 +03:00 by kerem · 8 comments
Owner

Originally created by @mandric on GitHub (Mar 1, 2012).
Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/17

any thoughts about supporting basic auth?

Originally created by @mandric on GitHub (Mar 1, 2012). Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/17 any thoughts about supporting basic auth?
kerem closed this issue 2026-02-28 01:22:45 +03:00
Author
Owner

@eyedol commented on GitHub (Mar 5, 2012):

@mandric good point. Maybe a configuration that can be turned on and once that is done, there will be two fields asking for username and password? This will be useful for web services with user authentication. Could you post that as a feature request?

<!-- gh-comment-id:4317732 --> @eyedol commented on GitHub (Mar 5, 2012): @mandric good point. Maybe a configuration that can be turned on and once that is done, there will be two fields asking for username and password? This will be useful for web services with user authentication. Could you post that as a feature request?
Author
Owner

@mandric commented on GitHub (Mar 5, 2012):

Yea, I was thinking that as well as supporting user:pass@ strings in the Sync URL...

<!-- gh-comment-id:4324072 --> @mandric commented on GitHub (Mar 5, 2012): Yea, I was thinking that as well as supporting user:pass@ strings in the Sync URL...
Author
Owner

@eyedol commented on GitHub (Aug 26, 2012):

Slating this for next version. Maybe :-P

<!-- gh-comment-id:8036714 --> @eyedol commented on GitHub (Aug 26, 2012): Slating this for next version. Maybe :-P
Author
Owner

@olliebennett commented on GitHub (Feb 24, 2013):

It appears that the user:pass@ urls (eg. http://user:pass@secure.example.com/) are permitted by the defined URL_PATTERN in Util.java.

Is there some other issue preventing at least this simple technique to be used, or has it been implemented since this issue was opened (and hence we could close it)?

<!-- gh-comment-id:14010414 --> @olliebennett commented on GitHub (Feb 24, 2013): It appears that the user:pass@ urls (eg. `http://user:pass@secure.example.com/`) are permitted by the defined `URL_PATTERN` in `Util.java`. Is there some other issue preventing at least this simple technique to be used, or has it been implemented since this issue was opened (and hence we could close it)?
Author
Owner

@eyedol commented on GitHub (Feb 25, 2013):

This issue hasn't been implemented yet. Keeping credentials on an app can be a bit complicated because of security. You have to consider storing them somewhere safe from preying eyes. I will find time and look into this

<!-- gh-comment-id:14028592 --> @eyedol commented on GitHub (Feb 25, 2013): This issue hasn't been implemented yet. Keeping credentials on an app can be a bit complicated because of security. You have to consider storing them somewhere safe from preying eyes. I will find time and look into this
Author
Owner

@mandric commented on GitHub (Sep 12, 2013):

Any updates on this? I might take a first whack by supporting auth in the Sync URL.

<!-- gh-comment-id:24346193 --> @mandric commented on GitHub (Sep 12, 2013): Any updates on this? I might take a first whack by supporting auth in the Sync URL.
Author
Owner

@eyedol commented on GitHub (Sep 13, 2013):

@mandric Nothing yet. That would be great. Let me know when you start.

<!-- gh-comment-id:24383997 --> @eyedol commented on GitHub (Sep 13, 2013): @mandric Nothing yet. That would be great. Let me know when you start.
Author
Owner

@mandric commented on GitHub (Sep 17, 2013):

here's a start https://github.com/ushahidi/SMSSync/pull/123

<!-- gh-comment-id:24629855 --> @mandric commented on GitHub (Sep 17, 2013): here's a start https://github.com/ushahidi/SMSSync/pull/123
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SMSSync#14
No description provided.