What if you check it by mistake?
If you check enable_sso by mistake and need to revert to the original state and no longer have access to the admin panel
run:
./launcher enter app
rails c
irb > SiteSetting.enable_sso = false
irb > exit
exit
From: Setup DiscourseConnect - Official Single-Sign-On for Discourse (sso)