# Passing user website data in SSO payload

**URL:** https://meta.discourse.org/t/passing-user-website-data-in-sso-payload/87470
**Category:** Support
**Created:** [May 14, 2018, 8:28pm UTC](https://meta.discourse.org/t/passing-user-website-data-in-sso-payload/87470 "2018-05-14T20:28:24Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![davedogs](https://avatars.discourse-cdn.com/v4/letter/d/5f9b8f/32.png) [@davedogs](https://meta.discourse.org/u/davedogs)
#### Post date: [May 14, 2018, 8:28pm UTC](https://meta.discourse.org/t/passing-user-website-data-in-sso-payload/87470/1 "2018-05-14T20:28:24Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [May 14, 2018, 9:31pm UTC](https://meta.discourse.org/t/passing-user-website-data-in-sso-payload/87470/2 "2018-05-14T21:31:22Z")

</div>

> [@davedogs](#):
>
> I’m happy to submit a PR for this change if it is desired.

Sure do it 👍

> [@davedogs](#):
>
> Alternatively, is there another way to do this besides modifying the code in my own custom plugin?

No, a plugin is your only option right now.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [June 25, 2018, 6:10am UTC](https://meta.discourse.org/t/passing-user-website-data-in-sso-payload/87470/3 "2018-06-25T06:10:12Z")

</div>

Merged in per: [FEATURE: add website field to SSO by realdlee · Pull Request #6015 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/6015)

Thanks!

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [June 25, 2018, 6:10am UTC](https://meta.discourse.org/t/passing-user-website-data-in-sso-payload/87470/4 "2018-06-25T06:10:14Z")

</div>


