I am trying to integrate Okta Single Sing On in a Django Rest Framework web app with front-end in React. I following this documentation also I am not sure if this is correct or not. But following this documentation I am able to create the authentication URL. After entering the URL I am able to authenticate the user, but after authentication and when the callback function is called I am facing this issue:
When debugging it I found the error is related to PKCE Verification failure. But I am not sure why this is producing the error. I am sure it is about the code_challenge but not able to figure it our how to fix it. Prior to this I have also tried using the mozilla_django_oidc in this I am having this issue
If anyone has gone through or have any idea about it, please let me know that would be awesome.
Thanks