http basic auth

2010-11-04 Thread Brandon Casci
Anyone know if basic http auth supported on Heroku?

I don't get the login box so I'm assuming no, unless there is a special
convention I don't know about.


-- 
=
Brandon Casci
Loudcaster
http://loudcaster.com
=

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: http basic auth

2010-11-04 Thread Jimmy Thrasher
Not sure what you mean.  If you implement it, it's supported.. it's just a
webserver returning a 401 Unauthorized HTTP response.  The browser will take
care of popping up the dialog.

Apache's .htaccess and other non-code ways of accomplishing it aren't
supported.

Here's an example for Sinatra: http://stackoverflow.com/questions/3479737

Rails has a built-in authenticate_with_http_basic and a couple other
methods.

Jimmy

On Thu, Nov 4, 2010 at 9:09 PM, Brandon Casci bran...@loudcaster.comwrote:

 Anyone know if basic http auth supported on Heroku?

 I don't get the login box so I'm assuming no, unless there is a special
 convention I don't know about.


 --
 =
 Brandon Casci
 Loudcaster
 http://loudcaster.com
 =

 --
 You received this message because you are subscribed to the Google Groups
 Heroku group.
 To post to this group, send email to her...@googlegroups.com.
 To unsubscribe from this group, send email to
 heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en.




-- 
+1-919-627-7546

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: http basic auth

2010-11-04 Thread Chris Hanks
Don't see why Heroku would have a problem with it. I've been using
Rails' basic auth functionality on Heroku for months with zero issues.


On Nov 4, 6:39 pm, Jimmy Thrasher ji...@jimmythrasher.com wrote:
 Not sure what you mean.  If you implement it, it's supported.. it's just a
 webserver returning a 401 Unauthorized HTTP response.  The browser will take
 care of popping up the dialog.

 Apache's .htaccess and other non-code ways of accomplishing it aren't
 supported.

 Here's an example for Sinatra:http://stackoverflow.com/questions/3479737

 Rails has a built-in authenticate_with_http_basic and a couple other
 methods.

 Jimmy

 On Thu, Nov 4, 2010 at 9:09 PM, Brandon Casci bran...@loudcaster.comwrote:









  Anyone know if basic http auth supported on Heroku?

  I don't get the login box so I'm assuming no, unless there is a special
  convention I don't know about.

  --
  =
  Brandon Casci
  Loudcaster
 http://loudcaster.com
  =

  --
  You received this message because you are subscribed to the Google Groups
  Heroku group.
  To post to this group, send email to her...@googlegroups.com.
  To unsubscribe from this group, send email to
  heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en.

 --
 +1-919-627-7546

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.



Re: http basic auth

2010-11-04 Thread Brandon Casci
I figured it out...

this works

authenticate_or_request_with_http_basic

this does not

authenticate_with_http_basic

oops!

On Thu, Nov 4, 2010 at 9:43 PM, Chris Hanks
christopher.m.ha...@gmail.comwrote:

 Don't see why Heroku would have a problem with it. I've been using
 Rails' basic auth functionality on Heroku for months with zero issues.


 On Nov 4, 6:39 pm, Jimmy Thrasher ji...@jimmythrasher.com wrote:
  Not sure what you mean.  If you implement it, it's supported.. it's just
 a
  webserver returning a 401 Unauthorized HTTP response.  The browser will
 take
  care of popping up the dialog.
 
  Apache's .htaccess and other non-code ways of accomplishing it aren't
  supported.
 
  Here's an example for Sinatra:http://stackoverflow.com/questions/3479737
 
  Rails has a built-in authenticate_with_http_basic and a couple other
  methods.
 
  Jimmy
 
  On Thu, Nov 4, 2010 at 9:09 PM, Brandon Casci bran...@loudcaster.com
 wrote:
 
 
 
 
 
 
 
 
 
   Anyone know if basic http auth supported on Heroku?
 
   I don't get the login box so I'm assuming no, unless there is a special
   convention I don't know about.
 
   --
   =
   Brandon Casci
   Loudcaster
  http://loudcaster.com
   =
 
   --
   You received this message because you are subscribed to the Google
 Groups
   Heroku group.
   To post to this group, send email to her...@googlegroups.com.
   To unsubscribe from this group, send email to
   heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com
 heroku%2bunsubscr...@googlegroups.comheroku%252bunsubscr...@googlegroups.com
 
   .
   For more options, visit this group at
  http://groups.google.com/group/heroku?hl=en.
 
  --
  +1-919-627-7546

 --
 You received this message because you are subscribed to the Google Groups
 Heroku group.
 To post to this group, send email to her...@googlegroups.com.
 To unsubscribe from this group, send email to
 heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en.




-- 
=
Brandon Casci
Loudcaster
http://loudcaster.com
=

-- 
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to her...@googlegroups.com.
To unsubscribe from this group, send email to 
heroku+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.