angularopenid-connectforgerock

OIDC config blocked in Forgerock by CORS


my application adds “Origin: http://localhost:8000” header to the discovery url GET request that causes Forgerock return CORS Error. It happens even when global CORS Filter is disabled in Forgerock. I’ve tried adding redirect url to localhost, couldn’t find any ‘web origins’ list in config. I’m using angular-oauth2-oidc library for connection. How can I set forgerock to ignore/accept this header?

Thanks in advance

I've already tried:


Solution

  • The problem was actually the configuration of Tomcat running forgerock. Brand new installation with new .war solved issues.