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

so there is no inbuild migration tool just migrate the whole db right

P

how i could export the configuration data so if i want to migrate the server i could including the db

P

well i dont' want to use the interface so i was integrating all apis in my own frontend and needed to get access token and refresh token the interface dont request only responseType- login

P

Sdk are very limited it don’t even support getting oAuth though password only though authorization_code

P

Well i tried go sdk it don’t provide apis i have to figure out though the source code

P

I could simply do a commit so we will put both access token and refresh hash inside the data one object it will be the simplest solution without breaking anything else

P

casdoor/controllers/auth.go

i am not able to get the refresh token as overwrites it resp.Data2 = user.NeedUpdatePassword

image.png

P

okay thanks i will also look into it will update you 🙂

P

for singup you still uses cardoor interface any particular reason or just too many things to implement

P

how could i integrate the auth flow within my own site rather then sending the user to casdoor signin page i have nextjs fronend and golang backend i don't want to expose casdoor system to the user i couldn't find any functionality to do like signin multi-factor auth method in the sdks