clearance_http_auth icon indicating copy to clipboard operation
clearance_http_auth copied to clipboard

signed_in? returns false

Open steverob opened this issue 9 years ago • 7 comments

Hi, signed_in? keeps returning false always. Is this because of lack of updates to the gem or something? Thanks @karmi :)

steverob avatar Jul 12 '16 13:07 steverob

Hi @steverob, yes, that might well be, I don't even remember the repository :) I'd like to help you, but it's really ancient, I think you'll have to dig yourself...

karmi avatar Jul 12 '16 16:07 karmi

Haha :) thanks @karmi. I was thinking the same thing and I'm gonna update this for the latest clearance :)

Regards Steve Robinson

On Jul 12, 2016, at 9:43 PM, Karel Minarik [email protected] wrote:

Hi @steverob, yes, that might well be, I don't even remember the repository :) I'd like to help you, but it's really ancient, I think you'll have to dig yourself...

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

steverob avatar Jul 12 '16 16:07 steverob

@karmi so weird - screenshot from 2016-07-13 08 45 02

This gives 401 even if env[:clearance].signed_in? returns true.

@jgarth I am working on your fork only - #1 :) Do share your thoughts. This passes with your dummy test app though - which is the weirdest part. And my Rails app is 4.2 though. Any updates to Rack::Auth?

Thanks!!

steverob avatar Jul 13 '16 03:07 steverob

Hey @steverob, sorry to disappoint but I haven't used clearance (and clearance_http_auth) in four years… no idea why it's not working anymore. Good luck :)

jgarth avatar Jul 13 '16 15:07 jgarth

Haha :) sure sure. Just curious, you guys still using rails or moved on?

Regards Steve Robinson

On Jul 13, 2016, at 9:05 PM, Joachim Garth [email protected] wrote:

Hey @steverob, sorry to disappoint but I haven't used clearance (and clearance_http_auth) in four years… no idea why it's not working anymore. Good luck :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

steverob avatar Jul 13 '16 16:07 steverob

@steverob Still using Rails for sure! :)

karmi avatar Jul 13 '16 16:07 karmi

Awesome @karmi :)

Regards Steve Robinson

On Jul 13, 2016, at 10:25 PM, Karel Minarik [email protected] wrote:

@steverob Still using Rails for sure! :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

steverob avatar Jul 14 '16 06:07 steverob