Re: Preemptive authentication

2014-02-13 Thread Christian Hammond
If you're talking about sending the HTTP Authorization header prior to
being asked, then yes, it supports this. RBTools does this for requests.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


On Thu, Feb 13, 2014 at 7:23 AM, Gong Zhang  wrote:

> I am wondering does review board accept Preemptive authentication request?
> Cause according to the WEB API for log in(
> http://www.reviewboard.org/docs/manual/dev/webapi/2.0/authenticating/#logging-in),
> there should be two requests to log into review board while preemptive
> authentication only does it at once.
> Now I am using preemptive authentication but getting a HTTP 401(not logged
> in) error.
> So any hints on this? Can I config review board to accept preemptive
> authentication? Thanks!
>
> --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Preemptive authentication

2014-02-13 Thread Gong Zhang
I am wondering does review board accept Preemptive authentication request?
Cause according to the WEB API for log 
in(http://www.reviewboard.org/docs/manual/dev/webapi/2.0/authenticating/#logging-in),
 
there should be two requests to log into review board while preemptive 
authentication only does it at once. 
Now I am using preemptive authentication but getting a HTTP 401(not logged 
in) error.
So any hints on this? Can I config review board to accept preemptive 
authentication? Thanks!

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.