# Basic Question on Client Secret

**URL:** <https://community.auth0.com/t/basic-question-on-client-secret/73281>\
**Category:** Get Help\
**Created:** [November 16, 2021, 9:47pm UTC](https://community.auth0.com/t/basic-question-on-client-secret/73281 "2021-11-16T21:47:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![roby.lee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/roby.lee/32/33068_2.png) [@roby.lee](https://community.auth0.com/u/roby.lee)\
**Post date:** [November 16, 2021, 9:47pm UTC](https://community.auth0.com/t/basic-question-on-client-secret/73281/1 "2021-11-16T21:47:49Z")

</div>

Does changing the client secret log out all users on SSO, causing them to have to log back in?

Thanks!

---

<div class="post-metadata">

**Author:** ![jeff0](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jeff0/32/30027_2.png) [@jeff0](https://community.auth0.com/u/jeff0)\
**Post date:** [November 16, 2021, 10:12pm UTC](https://community.auth0.com/t/basic-question-on-client-secret/73281/2 "2021-11-16T22:12:24Z")

</div>

Hi @roby.lee

Welcome to Auth0 Community 👏

Is your application a SPA or web app ?

Client secrets are only required for backend channel calls from secure applications. You can read more about type of applications[here](https://auth0.com/docs/configure/applications).

Users who are logged in from the front end will not be impacted when you change client secrets. BUT you would require to change your backend services to use a new secret for Auth0 authentication.

Thanks  
Jeff

---

<div class="post-metadata">

**Author:** ![roby.lee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/roby.lee/32/33068_2.png) [@roby.lee](https://community.auth0.com/u/roby.lee)\
**Post date:** [November 16, 2021, 11:10pm UTC](https://community.auth0.com/t/basic-question-on-client-secret/73281/3 "2021-11-16T23:10:01Z")

</div>

Thanks @jeff0

I have changed the secret already, and it is just a matter of me changing it in Auth0 and activating it. When I do that, will users SSO sessions be terminated and they will have to re-authenticate with user and password’?

---

<div class="post-metadata">

**Author:** ![jeff0](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jeff0/32/30027_2.png) [@jeff0](https://community.auth0.com/u/jeff0)\
**Post date:** [November 16, 2021, 11:24pm UTC](https://community.auth0.com/t/basic-question-on-client-secret/73281/4 "2021-11-16T23:24:39Z")

</div>

Hi @roby.lee

User session is terminated if either

- refresh token own by user is revoked
- user changes password
- Application terminates the session
- User is redirect to logout endpoint

In your scenario user will not be impacted.

How did you change in backend first and not in Auth0? Auth0 rotation must be done first to get a new secret. Is that what you meant ?

Hope it helps  
Jeff

---

<div class="post-metadata">

**Author:** ![roby.lee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/roby.lee/32/33068_2.png) [@roby.lee](https://community.auth0.com/u/roby.lee)\
**Post date:** [November 17, 2021, 2:44pm UTC](https://community.auth0.com/t/basic-question-on-client-secret/73281/5 "2021-11-17T14:44:09Z")

</div>

I am working collaboratively with users on another platform. They have a new secret generated that is not active on the backend yet. When they are ready, they will activate it and I will change it in Auth0.

Hopefully that context makes sense. Regardless, your answer helped me. I appreciate it!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [December 2, 2021, 2:44pm UTC](https://community.auth0.com/t/basic-question-on-client-secret/73281/6 "2021-12-02T14:44:11Z")

</div>

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