Problems while using Discourse as SSO it

Hi there,

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’

I’m using build v2.3.0.beta8 +44

Is this a known issue?

Thanks,
Iscle

1 Like

Any news? Still happening with the latest build…
Thanks.

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?

3 Likes

Hi Rafael,

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?

Anyway, thanks again :smiley:
Have a nice day!

7 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.