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

Hi I'm having issues with SAML azure db and casdoor:

  • When Im logged out from outlook I got redirected to outlook login
  • Test SAML buttom from azure works
  • When user authenticated in outlook I got following error
There was a problem signing you in..
the user's owner and name should not be empty

Can't paste screenshot

4views
2users
1 minread

Didnt do that as I dont think its a bug but more something im doing wrong in config

Also if user is already present with that email on casdoor it works, seems I'm missing the owner filling when registering from azure

fixed it adding an static claim with my org name in azure

@hsluoyz not documented and not sure if there is a better way to handle this

1 / 6
Dec 2025