Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

signOut revokeAccessToken endpoint returns a 403 #486

Closed
td-edge opened this issue Sep 25, 2020 · 2 comments
Closed

signOut revokeAccessToken endpoint returns a 403 #486

td-edge opened this issue Sep 25, 2020 · 2 comments

Comments

@td-edge
Copy link

td-edge commented Sep 25, 2020

I've noticed that when I call signOut, that the revokeAccessToken function returns a 403. I do have a cookie in my POST header. I just tried calling the revoke method directly and it produces the same result. I'm running in Chrome with an Angular/Ionic project.

:authority: dev-<ACCOUNT>.oktapreview.com
:method: POST
:path: /oauth2/default/v1/revoke
:scheme: https
accept: application/json
accept-encoding: gzip, deflate, br
accept-language: en-US,en;q=0.9
authorization: Basic <AUTHORIZATION-TOKEN>
content-length: 879
content-type: application/x-www-form-urlencoded
cookie: <COOKIE>
sid=<SID>
referer: http://localhost:8100/login
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: cross-site
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36
x-okta-user-agent-extended: okta-auth-js/4.0.1

I am testing this on localhost, but I have CORS enabled within my Okta account. I can't seem to get this to resolve no matter what settings I adjust.

@shuowu
Copy link
Contributor

shuowu commented Sep 25, 2020

@td-edge Thanks for reporting the issue! The same one has been tracked in okta/okta-oidc-js#861

@shuowu
Copy link
Contributor

shuowu commented Jul 15, 2021

Tracked in okta/okta-oidc-js#861, Close this issue.

@shuowu shuowu closed this as completed Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants