I’m working on using Discourse as SSO, however whenever I make the call to “/session/sso_provider” I get an error. The log shows the following:
NoMethodError (undefined method match' for nil:NilClass) /var/www/discourse/app/services/wildcard_domain_checker.rb:7:incheck_domain’
What is the value of sso provider secrets in your site? We changed how the setting work, and now it’s a list of (URL, secret) tuples. Sounds like you have a tuple where the URL is missing?
Thanks for your answer, I just solved the issue!
It turns out I was missing “https://” on the return url (in the backend of my app)! Very stupid mistake, I know… Maybe you can add a check to avoid that from happening?