I have a NextJS page where I try to implement Next-Auth. I use credentials to login to my Rails API. My API is returning (already) a JWT-Token. ...
I have a NextJS page where I try to implement Next-Auth. I use credentials to login to my Rails API. My API is returning (already) a JWT-Token. ...
i have a problems to restirct access from a member of a group. My application are a Rails 5 app with devise and devise_ldap_authenticatable gems insta ...
currently I am using the gem delayed-web in my project. I have multiple user roles, and I don't wanna the users whose roles are sales can access to th ...
I have a Sessions controller that requires authentication for creating a session using .authenticate method of has_secure_password defined in the User ...
This is really weird. I've used Devise hundreds of times and never gotten this error. Here is my model: and here is the schema: I go into the ra ...
I have an auth system from scratch, and when a user clicks on 'edit profile' it has to input the current password no matter the field he wants to edit ...
Here is what I do and I feel like it's not a good idea and it's anti-pattern: Authenticated users get directed to Home Controller and in controller d ...
I am implementing devise user authentication on a Rails 4 App and was wondering how do I stop the App from logging the User out after a certain amount ...
When it comes to Authorization/Authentication devise + cancan are usually my gems of choice. After the release of Rails4's strong parameters I've been ...
I have looked at declarative_authorization, CanCan, and CanTango. They all are good in adding authorization to the application but I was wondering how ...
I use Twitter oAuth to allow users to signup for my site. I have the user's access_token, access_secret from their signup stored. When the user wants ...
I have a tricky requirement where I need to categorise documents attached to a product, available for download, based on the status of the user viewin ...
I'm testing my app out on Heroku (which is f***ing amazing!) and I realized that I have no way of creating my root user. I'm using Authlogic and rail ...
I'm exploring Rails for the first time and trying to add some fairly straightforward role-based security to my test app. Some Googling seemed to indic ...