# Problem with polymer app at login

**URL:** <https://community.auth0.com/t/problem-with-polymer-app-at-login/120617>\
**Category:** Get Help\
**Tags:** classic-universal-login-experience, login-experience\
**Created:** [November 10, 2023, 9:11am UTC](https://community.auth0.com/t/problem-with-polymer-app-at-login/120617 "2023-11-10T09:11:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steve\_Hilton](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/steve_hilton/32/30992_2.png) [@Steve\_Hilton](https://community.auth0.com/u/Steve_Hilton)\
**Post date:** [November 10, 2023, 9:11am UTC](https://community.auth0.com/t/problem-with-polymer-app-at-login/120617/1 "2023-11-10T09:11:09Z")

</div>

Hey  
We’ve been running a web app for 5 years using Auth0 and Azure AD.

We’ve not made any changes to the project in that time.

Suddenly around 18th October the login stopped working.

Any suggestions why?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [November 13, 2023, 7:05pm UTC](https://community.auth0.com/t/problem-with-polymer-app-at-login/120617/3 "2023-11-13T19:05:38Z")

</div>

Hi @Steve_Hilton,

Welcome back to the Auth0 Community.

Do you have any more information on what isn’t working? Do you see errors, behavior, etc.

---

<div class="post-metadata">

**Author:** ![Steve\_Hilton](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/steve_hilton/32/30992_2.png) [@Steve\_Hilton](https://community.auth0.com/u/Steve_Hilton)\
**Post date:** [November 21, 2023, 12:37pm UTC](https://community.auth0.com/t/problem-with-polymer-app-at-login/120617/4 "2023-11-21T12:37:11Z")

</div>

This is the error message in console.

Access to XMLHttpRequest at ‘[https://liberty.eu.auth0.com/user/ssodata](https://liberty.eu.auth0.com/user/ssodata)’ from origin ‘[https://dw-trophy.firebaseapp.com](https://dw-trophy.firebaseapp.com)’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [November 21, 2023, 2:03pm UTC](https://community.auth0.com/t/problem-with-polymer-app-at-login/120617/5 "2023-11-21T14:03:30Z")

</div>

That error is [not likely to be related to the issue you’ve described](https://community.auth0.com/t/get-https-domain-user-ssodata-returns-404/28575/3). Can you describe what you mean by “not working”?

I.e. is the user not seeing the login page, are they not seeing the Azure login, are they not getting a token after successful login, etc.?

Screenshots, logs, any other evidence is helpful. Just be sure to obscure any sensitive data.

Thanks,  
Dan

---

<div class="post-metadata">

**Author:** ![Steve\_Hilton](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/steve_hilton/32/30992_2.png) [@Steve\_Hilton](https://community.auth0.com/u/Steve_Hilton)\
**Post date:** [November 22, 2023, 10:04am UTC](https://community.auth0.com/t/problem-with-polymer-app-at-login/120617/6 "2023-11-22T10:04:43Z")

</div>

The app works by asking users to login. That would use Auth0 / AD and then show the data.

Since the problem the app has shown the login screen, allowed the user to enter their credentials but never given a token. In the Auth0 logs. This happens.

{  
“date”: “2023-11-22T09:22:23.156Z”,  
“type”: “f”,  
“description”: “failed to obtain access token”,  
“connection”: “WAzure”,  
“connection\_id”: “con\_Q53nHgh7U7qjmkbo”,  
“client\_id”: “qIjHmQ4pSmQSHwQEHWwdN4Gu8TFrY5zl”,  
“client\_name”: “Polymer”,  
“user\_agent”: “Chrome 119.0.0 / Mac OS X 10.15.7”,  
“details”: {  
“body”: {},  
“connection”: “WAzure”,  
“error”: {  
“message”: “failed to obtain access token”,  
“oauthError”: “invalid\_request”,  
“type”: “request-error”,  
“payload”: "{"error":"invalid\_client","error\_description":"AADSTS7000215: Invalid client secret provided. Ensure the secret being sent in the request is the client secret value, not the client secret ID, for a secret added to app  
},  
“session\_id”: “V7DwF9DoC5GLS2Izp20K1r31InxqYQ2V”,  
“riskAssessment”: null  
},  
“hostname”: “[liberty.eu.auth0.com](http://liberty.eu.auth0.com)”,  
“strategy”: “waad”,  
“strategy\_type”: “enterprise”,

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [November 27, 2023, 4:30pm UTC](https://community.auth0.com/t/problem-with-polymer-app-at-login/120617/7 "2023-11-27T16:30:47Z")

</div>

> [@Steve\_Hilton](#):
>
> “payload”: "{“error”:“invalid\_client”,“error\_description”:"AADSTS7000215: Invalid client secret provided. Ensure the secret being sent in the request is the client secret value, not the client secret ID, for a secret added to app  
> },

This looks like a good hint. Can you please confirm that your AAD client secret is correct in the Auth0 Dashboard → Authentication → Enterprise → {Your connection} settings? Did you rotate it at some point recently?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [December 22, 2023, 5:55pm UTC](https://community.auth0.com/t/problem-with-polymer-app-at-login/120617/8 "2023-12-22T17:55:14Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
