# Login Issue for few users

**URL:** <https://devforum.okta.com/t/login-issue-for-few-users/14405>\
**Category:** Questions\
**Created:** [May 26, 2021, 6:37am UTC](https://devforum.okta.com/t/login-issue-for-few-users/14405 "2021-05-26T06:37:33Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karthik7799](https://avatars.discourse-cdn.com/v4/letter/k/4da419/32.png) [@Karthik7799](https://devforum.okta.com/u/Karthik7799)\
**Post date:** [May 26, 2021, 6:37am UTC](https://devforum.okta.com/t/login-issue-for-few-users/14405/1 "2021-05-26T06:37:33Z")

</div>

Hello Team,

I’m using OKTA OIDC Middleware NodeJs for my application. The issue is for few users when they are trying to login they are getting the below error.

{“errorCode”:“invalid\_client”,“errorSummary”:“Invalid value for ‘client\_id’ parameter.”,“errorLink”:“invalid\_client”,“errorId”:“oaelOm9cjrJRmCCH\_7VIo-IaA”,“errorCauses”:}.

What are the possibilities of getting this issue.

Regards  
Karthik.

---

<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:** [May 26, 2021, 5:13pm UTC](https://devforum.okta.com/t/login-issue-for-few-users/14405/2 "2021-05-26T17:13:57Z")

</div>

That error is coming back from Okta when a request is made to the authorization server.

Did you [set the client\_id in the ExpressOIDC config](https://github.com/okta/okta-oidc-js/tree/master/packages/oidc-middleware#usage-guide) to the one for the OpenID Connect application you made in Okta for this integration?

---

<div class="post-metadata">

**Author:** ![Karthik7799](https://avatars.discourse-cdn.com/v4/letter/k/4da419/32.png) [@Karthik7799](https://devforum.okta.com/u/Karthik7799)\
**Post date:** [May 26, 2021, 6:28pm UTC](https://devforum.okta.com/t/login-issue-for-few-users/14405/3 "2021-05-26T18:28:48Z")

</div>

Thanks for your response @andrea. I’m already do that. These are the below configurations for OIDC.

 ![image](https://global.discourse-cdn.com/oktadev/original/2X/a/a91577457ee89b07d131fe1609f48345764ada9f.jpeg)

Regards,  
Karthik.

---

<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:** [May 26, 2021, 6:43pm UTC](https://devforum.okta.com/t/login-issue-for-few-users/14405/4 "2021-05-26T18:43:53Z")

</div>

> [@Karthik7799](#):
>
> {“errorCode”:“invalid\_client”,“errorSummary”:“Invalid value for ‘client\_id’ parameter.”,“errorLink”:“invalid\_client”,“errorId”:“oaelOm9cjrJRmCCH\_7VIo-IaA”,“errorCauses”:}.

Is that error being thrown when the authorize call is made, or is it occurring later, such as during logout?

---

<div class="post-metadata">

**Author:** ![Karthik7799](https://avatars.discourse-cdn.com/v4/letter/k/4da419/32.png) [@Karthik7799](https://devforum.okta.com/u/Karthik7799)\
**Post date:** [May 26, 2021, 6:56pm UTC](https://devforum.okta.com/t/login-issue-for-few-users/14405/5 "2021-05-26T18:56:11Z")

</div>

It is happening at the time of callback from okta. In developer tools i see multiple times the callback is happening and at last it ends up throwing that error.  
Regards  
Karthik.

---

<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:** [May 26, 2021, 9:50pm UTC](https://devforum.okta.com/t/login-issue-for-few-users/14405/6 "2021-05-26T21:50:00Z")

</div>

And it otherwise works for all other users? Does the same behavior occur if you test the application locally?

---

<div class="post-metadata">

**Author:** ![Karthik7799](https://avatars.discourse-cdn.com/v4/letter/k/4da419/32.png) [@Karthik7799](https://devforum.okta.com/u/Karthik7799)\
**Post date:** [May 26, 2021, 10:01pm UTC](https://devforum.okta.com/t/login-issue-for-few-users/14405/7 "2021-05-26T22:01:21Z")

</div>

It is happening with only few users but not with everyone.

---

<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:** [February 8, 2024, 6:18pm UTC](https://devforum.okta.com/t/login-issue-for-few-users/14405/8 "2024-02-08T18:18:56Z")

</div>

Closed on February 8, 2024, 6:18pm UTC


