# User is not assigned to the client application okta

**URL:** <https://devforum.okta.com/t/user-is-not-assigned-to-the-client-application-okta/22089>\
**Category:** OAuth/OIDC\
**Created:** [October 7, 2022, 1:13pm UTC](https://devforum.okta.com/t/user-is-not-assigned-to-the-client-application-okta/22089 "2022-10-07T13:13:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![maruthi](https://avatars.discourse-cdn.com/v4/letter/m/f08c70/32.png) [@maruthi](https://devforum.okta.com/u/maruthi)\
**Post date:** [October 7, 2022, 1:13pm UTC](https://devforum.okta.com/t/user-is-not-assigned-to-the-client-application-okta/22089/1 "2022-10-07T13:13:26Z")

</div>

I have integrated okta into my application. I am not part of that application, when I try to login I am able to log in but it’s not redirecting to me the landing page. I want to show a message there. How to handle this.

I am using angular.

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [October 7, 2022, 4:04pm UTC](https://devforum.okta.com/t/user-is-not-assigned-to-the-client-application-okta/22089/2 "2022-10-07T16:04:09Z")

</div>

Per OIDC spec, your application should be receiving this error at the provided redirect\_uri. This error is not displayed within the IdP (Okta). Your app should be catching this specific error and showing the desired message within itself.

---

<div class="post-metadata">

**Author:** ![s3rp3nt](https://avatars.discourse-cdn.com/v4/letter/s/85f322/32.png) [@s3rp3nt](https://devforum.okta.com/u/s3rp3nt)\
**Post date:** [November 14, 2022, 3:03pm UTC](https://devforum.okta.com/t/user-is-not-assigned-to-the-client-application-okta/22089/3 "2022-11-14T15:03:49Z")

</div>

@andrea Can you link the OIDC spec you are referring to, please? This is the first I have heard of the IDP sending the error to the app on the redirect. I would have expected to see an Okta error page during the flow.

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [November 14, 2022, 5:10pm UTC](https://devforum.okta.com/t/user-is-not-assigned-to-the-client-application-okta/22089/4 "2022-11-14T17:10:03Z")

</div>

> **[Final: OpenID Connect Core 1.0 incorporating errata set 1](https://openid.net/specs/openid-connect-core-1_0.html#AuthError)**
>
> OpenID Connect Core 1.0 incorporating errata set 1

This also lists some common/defined error codes

---

<div class="post-metadata">

**Author:** ![s3rp3nt](https://avatars.discourse-cdn.com/v4/letter/s/85f322/32.png) [@s3rp3nt](https://devforum.okta.com/u/s3rp3nt)\
**Post date:** [November 14, 2022, 7:07pm UTC](https://devforum.okta.com/t/user-is-not-assigned-to-the-client-application-okta/22089/5 "2022-11-14T19:07:12Z")

</div>

Thank you, @andrea. This is very helpful.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [February 12, 2024, 10:21pm UTC](https://devforum.okta.com/t/user-is-not-assigned-to-the-client-application-okta/22089/6 "2024-02-12T22:21:08Z")

</div>

Closed on February 12, 2024, 10:21pm UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
