Questions tagged [merb-auth]
7 questions
1
vote
1 answer
`load_dependency': undefined method `activate' for Gem:Module (NoMethodError)
b-core-1.0.13/lib/merb-core/core_ext/kernel.rb:142:in load_dependency': undefined methodactivate' for Gem:Module (NoMethodError)
from /home/subrahmanyam/.rvm/gems/ruby-1.8.7-p374@mostfit/gems/merb-core-1.0.13/lib/merb-core/bootloader.rb:405:in…

Moorthy
- 31
- 1
- 6
1
vote
1 answer
merb_auth_password_slice does not maintain the session
Having integrated merb_auth_password_slice as per the README, I can successfully login as redirect_after_login is being triggered, although session.authenticated? returns false.
Just trying the basic auth strategy for now (password form), can't seem…

MatthewFord
- 2,918
- 2
- 21
- 32
0
votes
1 answer
Merb authentication question, _message variable
Im using merb, and getting weird variable in url after authentication. I figured out that variable contains base64 encoded data, but cannot understand why its appearing there, even if everything works ok. Just curious
It looks like this:…

Dan Sosedoff
- 2,869
- 5
- 28
- 34
0
votes
2 answers
Testing basic HTTP authenticated request in Merb
The Merb Open Source Book has a chapter on authentication. However, the testing an authenticated request section example only shows what you can do for forms based authentication. I have a web service that I want to test with HTTP basic…

ottobar
- 4,301
- 1
- 21
- 15
0
votes
1 answer
Adding a flash after authentication with merb-auth
What's the best way to add a flash message, for successful or unsuccessful login when using the merb-auth slice (Other than overriding sessions create)?

MatthewFord
- 2,918
- 2
- 21
- 32
0
votes
1 answer
Merb authentication question
My application has user part and /admin part. There are 2 models Account (like a customer) and Admin, and I should authenticate account and admin separately. Admins should not access account's part and accounts should not access admin area. Is there…

Sam
- 428
- 1
- 4
- 11
0
votes
2 answers
Controlling Merb authentication errors
Hey there, im a little bit confused about handling invalid user authentication request, at login controller. So, i already have modified login view, but cant figure out where to put the exception handling block. It should work like this: you login -…

Dan Sosedoff
- 2,869
- 5
- 28
- 34