# Auth0 authentication not returning profile on hosted Azure application

**URL:** <https://community.auth0.com/t/auth0-authentication-not-returning-profile-on-hosted-azure-application/19812>\
**Category:** Get Help\
**Tags:** jwt, login, auth0\
**Created:** [January 9, 2019, 3:58pm UTC](https://community.auth0.com/t/auth0-authentication-not-returning-profile-on-hosted-azure-application/19812 "2019-01-09T15:58:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kathrynb](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kathrynb/32/10478_2.png) [@kathrynb](https://community.auth0.com/u/kathrynb)\
**Post date:** [January 9, 2019, 3:58pm UTC](https://community.auth0.com/t/auth0-authentication-not-returning-profile-on-hosted-azure-application/19812/1 "2019-01-09T15:58:50Z")

</div>

I have implemented Auth0 login for our react single web page application. It works locally but once it is uploaded to Azure, the callback no longer contains the profile information, which then just loops the user back to the login page. I’ve explored whether the change from http to https has an effect by adding a self signed certificate to my local installation.

Has anyone had any issues with working with Auth0 and Azure App Services before?

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [January 9, 2019, 8:45pm UTC](https://community.auth0.com/t/auth0-authentication-not-returning-profile-on-hosted-azure-application/19812/3 "2019-01-09T20:45:50Z")

</div>

Hey there @kathrynb, Azure and Auth0 often play nice when working together. However what you are experiencing may be related to your allowed callback selections. Are you seeing any errors within your logs? When you get a chance can you snag me a HAR file and DM It over so we can take a deeper look at what may be going on along with your tenant name? Thanks in advance!

> **[Generate and Analyze HAR Files](https://auth0.com/docs/troubleshoot/troubleshooting-tools/generate-and-analyze-har-files)**
>
> Learn how to troubleshoot with HAR files and steps to generate a HAR file.

> **[Integrate with Azure API Management](https://auth0.com/docs/customize/integrations/azure-api-management)**
>
> Using Auth0 as an OAuth 2.0 server to authenticate users wanting access to an API managed by the Azure API Management service

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [January 10, 2019, 1:58pm UTC](https://community.auth0.com/t/auth0-authentication-not-returning-profile-on-hosted-azure-application/19812/6 "2019-01-10T13:58:33Z")

</div>

Hey there @kathrynb, I sent you a reply via DM asking for more information. Just wanted to give you a heads up 👍

---

<div class="post-metadata">

**Author:** ![kathrynb](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kathrynb/32/10478_2.png) [@kathrynb](https://community.auth0.com/u/kathrynb)\
**Post date:** [January 11, 2019, 4:07pm UTC](https://community.auth0.com/t/auth0-authentication-not-returning-profile-on-hosted-azure-application/19812/7 "2019-01-11T16:07:42Z")

</div>

Our initial installation was doing auth on the server and sending a token to the client. Via the example SPA + API setup, I changed the auth to be handled on the client and send a token to the server, and now it is working on Azure.

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [January 14, 2019, 3:34pm UTC](https://community.auth0.com/t/auth0-authentication-not-returning-profile-on-hosted-azure-application/19812/8 "2019-01-14T15:34:02Z")

</div>

Fantastic @kathrynb, I’m glad to hear everything is good now. Be sure to keep us updated on your build and let us know if you have any questions in the future!

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [January 29, 2019, 5:34am UTC](https://community.auth0.com/t/auth0-authentication-not-returning-profile-on-hosted-azure-application/19812/9 "2019-01-29T05:34:06Z")

</div>

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