Passing user website data in SSO payload

Hi,

I’m interested in setting a user’s website data when they use SSO. Based on the current setup of discourse_single_sign_on.rb (app/models/discourse_single_sign_on.rb), it doesn’t appear to be supported out of the box. I’m happy to submit a PR for this change if it is desired. Alternatively, is there another way to do this besides modifying the code in my own custom plugin?

Thank you.

إعجاب واحد (1)

Sure do it :+1:

No, a plugin is your only option right now.

إعجاب واحد (1)

Merged in per: FEATURE: add website field to SSO by realdlee · Pull Request #6015 · discourse/discourse · GitHub

Thanks!

إعجابَين (2)