# Okta raw logout

**URL:** <https://devforum.okta.com/t/okta-raw-logout/11952>\
**Category:** Questions\
**Created:** [December 1, 2020, 9:26pm UTC](https://devforum.okta.com/t/okta-raw-logout/11952 "2020-12-01T21:26:11Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mvernacc](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@mvernacc](https://devforum.okta.com/u/mvernacc)\
**Post date:** [December 11, 2020, 5:07pm UTC](https://devforum.okta.com/t/okta-raw-logout/11952/3 "2020-12-11T17:07:51Z")

</div>

I am getting the same error when try to log out by redirecting the user-agent to the `/logout` endpoint.  
I am passing the (URL-encoded) ID token as the value for `id_token_hint` as a parameter on the URL. The URL looks like:

```auto
https://dev-{...}.okta.com/oauth2/default/v1/logout?id_token_hint=%7B%27access_token%27%3A+%27{...}+%27scope%27%3A+%5B%27profile%27%2C+%27email%27%2C+%27openid%27%5D%2C+%27token_type%27%3A+%27Bearer%27%7D

```

(I have replaced sensitive information with `{...}`)

I am confused because the error mentions a `client_id` parameter, but the [API docs for /logout](https://developer.okta.com/docs/reference/api/oidc/#request-parameters-5) do not list `client_id` as a parameter.

It seems that [Logout Redirect Page](https://devforum.okta.com/t/logout-redirect-page/9824) addresses a similar issue, but the solution was very specific to the poster’s C# implementation, and I am not familiar with C#.

---

_[View the full topic](https://devforum.okta.com/t/okta-raw-logout/11952)._
