jpf / okta-oidc-beta

Instructions and sample code for Okta's OpenID Connect Beta
Other
22 stars 11 forks source link

x-frame options error #2

Open ryber opened 8 years ago

ryber commented 8 years ago

Hello, I was trying this today and I'm getting the following error while attempting to log in with Chrome:

Invalid 'X-Frame-Options' header encountered when loading 'https://xxxxxx.oktapreview.com/oauth2/v1/authorize?client_id=z3jTW7…Token=20111Lh9bpjh0QafjIROZGozLwfCjIVXiofnZEKA4xp5rbl1fvOLOpE&scope=openid': 'ALLOW' is not a recognized directive. The header will be ignored.

This is followed a bit later with this error

Unhandled rejection reasons (should be empty): ["Error: AuthSdkError: OAuth flow timed out?    at h…ew.com/js/sdk/okta-sign-in-1.1.0.min.js:237:29318"]0: "Error?    at 

I think I may have actually been signed in

jpf commented 8 years ago

You can suppress that error by logging in to your Okta org as an admin and turning on "Allow IFrame embedding" in the Settings > Customization section:

jfranusic_-_customization