# SSO\_SYNC not working

**URL:** <https://meta.discourse.org/t/sso-sync-not-working/87150>\
**Category:** SSO\
**Created:** [10.Май.2018 09:26:18 UTC](https://meta.discourse.org/t/sso-sync-not-working/87150 "2018-05-10T09:26:18Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![shahidmir](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@shahidmir](https://meta.discourse.org/u/shahidmir)\
**Post date:** [10.Май.2018 09:26:18 UTC](https://meta.discourse.org/t/sso-sync-not-working/87150/1 "2018-05-10T09:26:18Z")

</div>

Hi Guys

I need some assistance with the /admin/users/sso\_sync end point.  
Using postman, I am trying to update an email address using this end point, but postman is returning a HTML page as response (which is basically the landing page of my application where discourse is integrated).

Im doing a POST to:

```
https:{my domain}/admin/users/sync_sso

```

With body:

```
{
	"email":"test@gmail.com",
	"external_id":"xxxxxxxxxxxxxxxxxxxxxxxxxxxx",
	"require_activation":"false",
	"api_key":"xxxxxxxxxxxxx",
	"api_username":"admin users email address"
}

```

For the api\_username, i have tried both admin user’s email address as well as username, but none works.  
Is the api\_username something else?  
Can someone advise where Im going wrong.

Regards

---

_[View the full topic](https://meta.discourse.org/t/sso-sync-not-working/87150)._
