# Web UI SSO with Azure AD - not working

**URL:** <https://community.temporal.io/t/web-ui-sso-with-azure-ad-not-working/7213>\
**Category:** Community Support\
**Tags:** web-ui, sso\
**Created:** [February 8, 2023, 10:27am UTC](https://community.temporal.io/t/web-ui-sso-with-azure-ad-not-working/7213 "2023-02-08T10:27:45Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![sstro](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@sstro](https://community.temporal.io/u/sstro)\
**Post date:** [February 15, 2023, 3:01pm UTC](https://community.temporal.io/t/web-ui-sso-with-azure-ad-not-working/7213/5 "2023-02-15T15:01:00Z")

</div>

Hi @Extant-1,

Thanks for sharing the configuration. My first issue was that I was missing _v2.0_ in the AUTH\_PROVIDER URL, that’s probably the reason for the malformed token.

The second issue was that my custom scope had to be specified in the AUTH\_SCOPES, in addition to the three default ones.

The SSO works now.

Thanks again !

---

_[View the full topic](https://community.temporal.io/t/web-ui-sso-with-azure-ad-not-working/7213)._
