I am trying to integrate Okta in my ionic app. but when i run the application and try to call the method createAndSaveNonce of okta service i am getting following error. Please can any one help me.
Failed to load https://dev-202191.oktapreview.com/api/v1/authn: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost:8100’ is therefore not allowed access.