okta / okta-auth-js

The official js wrapper around Okta's auth API
Other
447 stars 261 forks source link

AuthSdk PKCE Error #1162

Open sku154 opened 2 years ago

sku154 commented 2 years ago

Describe the bug?

While I am trying to navigate through the below URL using Automation with TestCafe i am getting the below issue, Please find the attached screenshot.

URL: https://workspaces-uat.veteransunited.com/submit-to-uw/ba83b27f-6f7d-4230-93f9-0cd35977b7b7

image

What is expected to happen?

It has to navigate to the URL and do the okata signIn

What is the actual behavior?

Its not navigating to the URL and should do the Okta sigin but its not.

Reproduction Steps?

Navigate to the URL

SDK Versions

NONE we have in our TestCafe Framework

Execution Environment

Browsers chrome, Firefox, edge Windows 10

Additional Information?

No response

arvindkrishnakumar-okta commented 2 years ago

Thanks for the post!

Someone from our team will review this soon.

aarongranick-okta commented 2 years ago

@sku154 As the error says, PKCE requires encryption support (the webcryto library, aka crypto.subtle). Most browsers only provide this interface when running on HTTPS or on http://localhost. Options here are: