# Reset OAuth link to SmartThings account - Missing OAuth Client Id and Client Secret

**URL:** <https://community.smartthings.com/t/reset-oauth-link-to-smartthings-account-missing-oauth-client-id-and-client-secret/304130>\
**Category:** General Discussion\
**Tags:** oauth\
**Created:** [August 1, 2025, 9:51pm UTC](https://community.smartthings.com/t/reset-oauth-link-to-smartthings-account-missing-oauth-client-id-and-client-secret/304130 "2025-08-01T21:51:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark123](https://avatars.discourse-cdn.com/v4/letter/m/839c29/32.png) [@Mark123](https://community.smartthings.com/u/Mark123)\
**Post date:** [August 1, 2025, 9:51pm UTC](https://community.smartthings.com/t/reset-oauth-link-to-smartthings-account-missing-oauth-client-id-and-client-secret/304130/1 "2025-08-01T21:51:41Z")

</div>

I’m newish to SmartThings and trying to link SmartThings to Homebridge. I needed to use SmartThings CLI to create OAuth Client Id and Client Secret to enter the details into the app to authorise it connecting. Unfortunately I missed the bit in the instructions about copying the OAuth id and secret down. I can’t seem to generate another id and secret or view the OAuth details or unlink it.

The instructions I didn’t follow closely enough. 😢 [homebridge-smartthings-tv/docs/oauth.md at main · o-lukas/homebridge-smartthings-tv · GitHub](https://github.com/o-lukas/homebridge-smartthings-tv/blob/main/docs/oauth.md)

Hoping someone can point me in the right direction.

---

<div class="post-metadata">

**Author:** ![nayelyz](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@nayelyz](https://community.smartthings.com/u/nayelyz)\
**Post date:** [August 1, 2025, 10:00pm UTC](https://community.smartthings.com/t/reset-oauth-link-to-smartthings-account-missing-oauth-client-id-and-client-secret/304130/2 "2025-08-01T22:00:54Z")

</div>

Hi, @Mark123

OAuth credentials only appear once when you register the app, but there’s a command that allows you to generate a new set of clientId and clientSecret:

```auto
smartthings apps:oauth:generate

```

Can you see if it works for your app, please?

Also, if you want to remove the access to your account to an Oauth Integration like this one. You can:

1. Open the ST app
2. Go to Menu
3. Choose Settings and find the option “Linked Services”
4. Once in this page, you’ll be able to remove any Cloud-To-Cloud integration linked to your account

---

<div class="post-metadata">

**Author:** ![Mark123](https://avatars.discourse-cdn.com/v4/letter/m/839c29/32.png) [@Mark123](https://community.smartthings.com/u/Mark123)\
**Post date:** [August 1, 2025, 10:27pm UTC](https://community.smartthings.com/t/reset-oauth-link-to-smartthings-account-missing-oauth-client-id-and-client-secret/304130/3 "2025-08-01T22:27:00Z")

</div>

Thanks for the reply, I removed the linked services and tried the smartthings apps:oauth:generate (no success) and deleted all the details and followed the instructions again.  
When I get to ❯ Finish and create OAuth-In SmartApp. ## select and hit Enter. The run window closes with no sign of the id or secret. Its not asking me to sign into ST like the first time. There is no longer any links into the ST app. Is there anything I need to delete or clear to restart this process.  
How can I manage / delete my oauth credentials in smartthings cloud. Maybe this will allow me to generate new id and secret?  
Any help on this would be gratefully received,
