rails-devise-graphql icon indicating copy to clipboard operation
rails-devise-graphql copied to clipboard

Prefered Authentication gem? devise_token_auth?

Open simonfranzen opened this issue 3 years ago • 6 comments

Dear rails and graphql community,

many thanks for more than 200 stars on github! This is amazing! 💙

Maybe you could help us out in decision making: Would it be better to integrate devise_token_auth as token authentication method.

The truth is that we dropped the current graphql-auth gem in our other projects. We are using devise_token_auth there and it works very well.

thank you1

simonfranzen avatar May 30 '21 15:05 simonfranzen

I've been using this boilerplate for the last 4 months for learning RoR. In fact, I also use it for a project for the company I work for.

It's difficult for me to integrate graphql-auth with our custom doorkeeper login flows. For now, my code for admin authentication is kinda 'messy' because I need to copy and paste some codes from graphql_auth to make it work.

Besides, I notice devise_token_auth maintains a session for each client/device, which is what I needed for my project. If this can work with the boilerplate, I would love to refactor my codes to use devise_token_auth.

RizkiHerdaID avatar Jun 05 '21 02:06 RizkiHerdaID

First of all, thank you for this good boilerplate and gem.

I have been using this for my project. I am agree that It's difficult to integrate graphql-auth, sometimes I end of patching and copy-pasting the functions.

I think it would be great if we can integrate devise_token_auth in this. Do you have any plan to upgrade this?

Thanks

harryct229 avatar Jul 30 '21 03:07 harryct229

Hey, yes we are on it to publish a new version in August with devise_token_auth!

simonfranzen avatar Jul 30 '21 11:07 simonfranzen

Is the update2021 branch safe to use now or is it still being updated?

thehashrocket avatar Oct 04 '21 17:10 thehashrocket

hey, sorry, no branch is not safe to use :|

simonfranzen avatar Jan 11 '22 00:01 simonfranzen

hey still the branch not safe to use ?

hassanrbh avatar Aug 19 '22 13:08 hassanrbh