# Is it possible to pass badges as the SSO payload?

**URL:** https://meta.discourse.org/t/is-it-possible-to-pass-badges-as-the-sso-payload/281537
**Category:** SSO
**Tags:** badges
**Created:** [3 juni 2019 om 15:41 UTC](https://meta.discourse.org/t/is-it-possible-to-pass-badges-as-the-sso-payload/281537 "2019-06-03T15:41:32Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [3 juni 2019 om 17:00 UTC](https://meta.discourse.org/t/is-it-possible-to-pass-badges-as-the-sso-payload/281537/2 "2019-06-03T17:00:53Z")

</div>

> [@njj](#):
>
> is it possible to pass badges as the SSO payload?

No, this isn’t possible. You can grant a custom badge through the API though. See [Grant a custom badge through the API](https://meta.discourse.org/t/how-to-grant-a-custom-badge-through-the-api/103270) for details about that.

> [@njj](#):
>
> is it possible to make a group and if you’re part of that special group that you have a badge?

You can [create a group that adds a group flair to its members’ avatars](https://meta.discourse.org/t/create-a-group-that-automatically-adds-associated-flair-to-its-members-avatars/82700). This is how the Discourse Team flair is displayed on this forum. To automatically grant a _badge_, instead of an avatar flair, to members of a specific group, you could either write a badge query, or you could grant the badge through the API.

---

_[View the full topic](https://meta.discourse.org/t/is-it-possible-to-pass-badges-as-the-sso-payload/281537)._
