I spent a few last days trying to make auth module work. And I failed.
I googled for many hours how to make a simple (as I thought) thing: nuxt with auth providing Google oAuth2 login and setting jwt token on success.
What went wrong:
OK, just give up. I'm stupid. Auth module is about to reach its 5 version. Google has millions of pages mentioning nuxt and auth, its simplicity and how its so great. Developers use it and looks like they are happy. And I'm just not one of them.
I'll do a classic /auth/google server-only location to do all that server-side. I'll try to use auth module only for jwt token. If I'll make work somehow.
Thanks.
I'm sure everyone is busy and has other priorities, and that's fine, but this project really needs some maintainer love.
@pi0 @JoaoPedroAS51 Do you need help maintaining this?
I would love to ship in! Is there some documentation on what has to be done for v5?
Hello.
I was struggling with axios & auth 4.x for several days implementing JWT with refresh token using NuxtJS (spa mode)/axios/auth... Finally, I identified my problems:
The dev-auth website is really nice.... BUT can lead to mistake. Maybe :
By the way: A big thank you for this plugin..It works great when all parts are correctly assembled !! (even more: dev-auth 5.0 with Refresh scheme works with LoopBack 4.0).
Maybe, some warning/assert or debug mode should be added. I had to do some reverse to understand why it didn't work at the first try. When migrating from 4.x to 5.x from local to Refresh scheme : some data/property where incorrectly configured or missing from server.
True that it took me some time to understand how this one is working but then, it's cool to use (implemented homemade JWT from a backend + Auth0 as a test).
Your use case just should not differ to much from the magic configuration given to you.
Hi @igordata. Thanks for reaching out and mentioning this. I have tried to explain history of module and current status in #893. Still apologizes for inconveniences for module usage and lack of docs.
Any help on documentation is of course more than welcome (please ping me/framework team on discord)
Most helpful comment
I'm sure everyone is busy and has other priorities, and that's fine, but this project really needs some maintainer love.