Giter Site home page Giter Site logo

Comments (8)

khelal avatar khelal commented on August 14, 2024

We're having the same issue. Did you find a way to resolve this?

from authy-devise.

daniel-nelson avatar daniel-nelson commented on August 14, 2024

No. In the end, we switched from Devise to AuthLogic and are in the early phases of replacing ActiveAdmin with a custom admin solution.

from authy-devise.

dcu avatar dcu commented on August 14, 2024

@khelal @daniel-nelson We haven't tried active admin before, do you have an error message or something we can look at?
Also please include the ruby version, rails version, devise version and active admin version.

from authy-devise.

danpal avatar danpal commented on August 14, 2024

@daniel-nelson any update here. Do you have any error messages.

from authy-devise.

daniel-nelson avatar daniel-nelson commented on August 14, 2024

Hi @danpal, we switched from Devise to Authlogic and built our own admin (including Authy!) instead of ActiveAdmin.

from authy-devise.

danpal avatar danpal commented on August 14, 2024

Gotcha, I am going to close this in the meantime. IF you ever have this issue again let us know.

from authy-devise.

eyefodder avatar eyefodder commented on August 14, 2024

Going to add this here for people who do want to make this work.

ActiveAdmin::Devise.config just returns an object with routing defaults for using active admin and devise. All you really need to do is add in the devise authy controller. I found that if you are just using devise_authy out of the box it will work just fine. If you need to customize things (in my case, I wanted to use a different controller), you can just merge the values into the ActiveAdmin::Devise.config object:

devise_for :admin_users, ActiveAdmin::Devise.config.deep_merge(controllers: {devise_authy: 'admin/two_factor_auth'})

from authy-devise.

muhammadumarkhan-vf avatar muhammadumarkhan-vf commented on August 14, 2024

@eyefodder Hope you doing well.
Do you have the implementation of Authy + Devise + ActiveAdmin in any repo?

from authy-devise.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.