Casbin Forum runs on Casnode, the open-source Discourse-style forum. Try the Casnode demo →
Casbin Forum

Does auth0 support custom Vue code integration? If yes, how did they do this?

Yeah, they have three different SDK's even that you can choose from (which was kinda confusing).. Since they are a SaaS, integration was a bit finicky, you keep hopping between their and your domain. I hope to prevent that with Casdoor, having it all hosted on my own servers

but basically, I implemented the old-fashioned implicit flow (at that time I didn't know of the improved PKCE-flow)

Their STS issues an access key via JWT, which I pass on to my backend via my SPA

.... in a nutshell ๐Ÿ˜‰

But I also needed some enrollment features (basically getting a freshly generated user_id added to the users profile, which turned out was a paid feature). All-in-all, I decided it was time to take matters in my own hand.

Bit of a learning curve, since I had no prior knowledge, but eventually it worked fairly well, and once logged in, the user stays logged in for a long time, so it's not that bad.

yeahh... it's one of the more expensive options, esp. if you're just a hobby project. Their first paid tier is $35/mo, which is a bit on the high side compared to others..

I looked at Authelia and Authentik before deciding to try Casdoor; The Vue integration made me try Casdoor first

Also considered Keycloak, but it fealt a bit bloated...

Must say, Casdoor is now running idle, and it only takes about 20MB of RAM and virtually no CPU

which is important if you're running on a miniscule OpenVZ, as I am now ๐Ÿ˜›

If that's ok, would you like to advocate Casdoor in X?

would be, if I was on X... not using any social media at all

I'll first implement it, and if all works out, I'd happily write a blog post about it

it's the least I could do... oh, and I could help out with a dutch translation, if you'd need it

...again, the least I could do in return

yeah, had seen the page

I mean... it's free and open source... I am more than happy to be able to give back... But first, I need to get this whole show on the road first..

...speaking of which.. I had configured some stuff, like an organization and some providers.. is there a way to export that and import that into an empty production enviroment, or is that what the syncers are for?

.. or do I use the init_data.json file to get existing config into a new environment?

1 / 23
Mar 2024