<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D50Z00008G7UyTSAVOkta Classic EngineAdministrationAnswered2021-09-02T16:48:18.000Z2017-07-25T15:40:55.000Z2017-07-25T15:40:55.000Z
Using Okta with Angular
After reading the article https://developer.okta.com/blog/2017/04/17/angular-authentication-with-oidc#create-open-id-connect-app I downloaded the source from https://github.com/oktadeveloper/okta-angular-openid-connect-example and changed the following values to my regisered app, where the ???? had the correct values.

 

this.oauthService.clientId = '??????';

this.oauthService.issuer = 'https://dev-6????9.oktapreview.com';

 

When I tried to initiate the implicit flow I get a "No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4200' is therefore not allowed access."

 

This looks like a CORS problem but I'm not sure how to resolve it here so I can perfrom the initial login

  • matt.maher (Presales - Americas Commercial, Emerging East)

    Hi Mark,

    I think it would be best if you opened a Support Ticket with us regarding this issue. We will need to gather more specific details about your setup and a private support ticket is the best approach. Let me know if you have any other questions.
This question is closed.
Loading
Using Okta with Angular