skoruba / Duende.IdentityServer.Admin

The administration for the Duende IdentityServer and Asp.Net Core Identity ⚡
Apache License 2.0
556 stars 194 forks source link

Integration with Azure AD - Content Security Policy Error #105

Open SvenAtGit opened 1 year ago

SvenAtGit commented 1 year ago

Question

When i want to integrate wit Azure AD i get following error in the browser console.
Has someone an idea to fix this?

aspnetcore-browser-refresh.js:234
 Refused to connect to 'wss://localhost:44306/Skoruba.Duende.IdentityServer.STS.Identity/' because it violates the following Content Security Policy directive: "default-src 'self' www.gravatar.com fonts.googleapis.com fonts.gstatic.com". 
Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.
skoruba commented 1 year ago

Hi, I think this is not related to the implementation of Azure AD - what do you get for the error in the authentication flow via Azure AD? THanks