Hey Jens,

So my basic auth is working for normal things like GET docs.

However, when I try to do a GET against a sync gateway design doc view, it 
does not allow it. 

My REST call to 4984:
https://db.mydb.com/shotbotdb/_design/scenes_for_job/_view/scenes_for_job?startkey=[%22-9t43hswLaiNa3qymE7MU9U%22]&endkey=[%22-9t43hswLaiNa3qymE7MU9U{}%22]&stale=false

Here is the log from SG:

2015-10-15T17:02:13.900-04:00 HTTP:  #11803: GET 
/shotbotdb/_design/scenes_for_job/_view/scenes_for_job?startkey=[%22-9t43hswLaiNa3qymE7MU9U%22]&endkey=[%22-9t43hswLaiNa3qymE7MU9U{}%22]&stale=false
  
(as toddfreese)

2015-10-15T17:02:13.901-04:00 HTTP: JSON view 
"scenes_for_job"/"scenes_for_job" - opts 
map[endkey:[-9t43hswLaiNa3qymE7MU9U{}] stale:false 
startkey:[-9t43hswLaiNa3qymE7MU9U]]

2015-10-15T17:02:13.901-04:00 HTTP: #11803:     --> 403 forbidden  (0.7 ms)


As you can see, it looks like the auth part worked as it says "(as 
toddfreese)".


Do I need to do something different for SG design doc views?


Todd


-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/96ec119b-3c27-4eeb-a86d-b45aec4e4dfb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to