vmware / idm

MIT License
51 stars 30 forks source link

How to set enable the CORS for Webapps? #12

Closed mayurpxp closed 3 years ago

mayurpxp commented 4 years ago

I'm using the angular angular-oauth2-oidc-jwks library. I have added AuthConfig but getting a cors issue for the token URL. We have configured the information in the identity server as well.

If I enable my browsers cors plugin then I'm getting the token after sign in from workspace one. But I want this to be done without any cors plugin.

So how to enable cors for my web apps inside VMware Identity Manager?

Error: _

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://XXXX.com/acs/token. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Error getting token

_

fstrudel commented 4 years ago

You would need to enable CORS on the VMware Identity Manager side, but though I think it's possible for the on-prem product, I don't think it's available for the hosted product.

mayurpxp commented 3 years ago

Yes this was the Identity manager side issue. Team enabled it and issue is resolved. Thanks you.

ACorreia2112 commented 2 years ago

Is there anyway you could help we are having same issues. Vmware support not being to helpful. Anyway you can share your fix.

ACorreia2112 commented 2 years ago

Yes this was the Identity manager side issue. Team enabled it and issue is resolved. Thanks you.

Is there anyway you could help we are having same issues. Vmware support not being to helpful. Anyway you can share your fix.