# \#oauth

**URL:** https://community.smartthings.com/tag/oauth/69.md

[Latest](https://community.smartthings.com/latest.md) · [Categories](https://community.smartthings.com/categories.md) · [Tags](https://community.smartthings.com/tags.md)

---

## [Reset OAuth link to SmartThings account - Missing OAuth Client Id and Client Secret](https://community.smartthings.com/t/reset-oauth-link-to-smartthings-account-missing-oauth-client-id-and-client-secret/304130)

<div class="topic-metadata">

**Author:** [@Mark123](https://community.smartthings.com/u/Mark123)\
**Replies:** 2\
**Last updated:** [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 "2025-08-01T22:27:00Z")

</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. Unfortunat…

---

## [Issues with oauth callback](https://community.smartthings.com/t/issues-with-oauth-callback/262840)

<div class="topic-metadata">

**Author:** [@joesnell](https://community.smartthings.com/u/joesnell)\
**Replies:** 12\
**Last updated:** [April 23, 2025, 2:15am UTC](https://community.smartthings.com/t/issues-with-oauth-callback/262840 "2025-04-23T02:15:14Z")

</div>

I have been working on building a smartthings schema connected cloud service and have bumped into some issues with the oauth flow on the smartthings side. I have set up an API and machine application (oauth client) in a…

---

## [Problem while implementing oauth2.0](https://community.smartthings.com/t/problem-while-implementing-oauth2-0/295584)

<div class="topic-metadata">

**Author:** [@dnsl330](https://community.smartthings.com/u/dnsl330)\
**Replies:** 2\
**Last updated:** [February 18, 2025, 10:09am UTC](https://community.smartthings.com/t/problem-while-implementing-oauth2-0/295584 "2025-02-18T10:09:08Z")

</div>

Hello, Friends ! I am implementing oauth2.0 into my web site I think my app’s purpose does not fit with smart app so I just tried to implement basic o auth implementation followed this thread ↓ first, I generated a…

---

## [Documentation for OAuth](https://community.smartthings.com/t/documentation-for-oauth/291277)

<div class="topic-metadata">

**Author:** [@AWGNelson](https://community.smartthings.com/u/AWGNelson)\
**Replies:** 3\
**Last updated:** [December 5, 2024, 3:23pm UTC](https://community.smartthings.com/t/documentation-for-oauth/291277 "2024-12-05T15:23:21Z")

</div>

Hi, Where is the best place to find the latest documentation and endpoints for an OAuth In SmartApp? I don’t think the authorize or token endpoints are listed anywhere but I could be wrong. I think I have successfully …

---

## [Error: "redirect\_uri could not be validated" During Login for Automation Project with Webhook](https://community.smartthings.com/t/error-redirect-uri-could-not-be-validated-during-login-for-automation-project-with-webhook/286431)

<div class="topic-metadata">

**Author:** [@Ilya\_Bespaliy](https://community.smartthings.com/u/Ilya_Bespaliy)\
**Replies:** 7\
**Last updated:** [September 12, 2024, 9:41pm UTC](https://community.smartthings.com/t/error-redirect-uri-could-not-be-validated-during-login-for-automation-project-with-webhook/286431 "2024-09-12T21:41:42Z")

</div>

Hi SmartThings Community, I’m working on an Automation project using a webhook and have confirmed that my webhook URL is correctly set up. However, I’m encountering an issue during the login process where I receive the …

---

## [OAuth Flow Error](https://community.smartthings.com/t/oauth-flow-error/285606)

<div class="topic-metadata">

**Author:** [@seam](https://community.smartthings.com/u/seam)\
**Replies:** 2\
**Last updated:** [August 14, 2024, 6:33pm UTC](https://community.smartthings.com/t/oauth-flow-error/285606 "2024-08-14T18:33:05Z")

</div>

Hi, We’ve been using SmartThings without issues for a while, but today we encountered a problem during the OAuth account connection process. When a user logs in and accepts the terms and conditions, they reach the scre…

---

## [Enhancing OAuth Flow: New Login Prompt and OpenID Integration](https://community.smartthings.com/t/enhancing-oauth-flow-new-login-prompt-and-openid-integration/284215)

<div class="topic-metadata">

**Author:** [@CelioARamos](https://community.smartthings.com/u/CelioARamos)\
**Replies:** 3\
**Last updated:** [July 11, 2024, 3:08pm UTC](https://community.smartthings.com/t/enhancing-oauth-flow-new-login-prompt-and-openid-integration/284215 "2024-07-11T15:08:12Z")

</div>

Hi everyone, When using the OAuth flow, it is necessary for the authorization pop-up not to rely on the user’s existing browser session. I would like it to prompt for a new login or allow the user to choose an account. …

---

## [Login redirect for OAuth2 not working](https://community.smartthings.com/t/login-redirect-for-oauth2-not-working/271260)

<div class="topic-metadata">

**Author:** [@Martijn\_Vermeulen](https://community.smartthings.com/u/Martijn_Vermeulen)\
**Replies:** 3\
**Last updated:** [October 17, 2023, 8:49am UTC](https://community.smartthings.com/t/login-redirect-for-oauth2-not-working/271260 "2023-10-17T08:49:40Z")

</div>

Hi everyone, According to the API documentation at: API | Developer Documentation | SmartThings It should be possible to let the user authenticate and grant permission to (api\_only) apps to interact with the SmartThing…

---

## [Direct to app store page instead of implemented OAuth login page when trying to connect service](https://community.smartthings.com/t/direct-to-app-store-page-instead-of-implemented-oauth-login-page-when-trying-to-connect-service/260870)

<div class="topic-metadata">

**Author:** [@ETesting](https://community.smartthings.com/u/ETesting)\
**Replies:** 1\
**Last updated:** [March 21, 2023, 3:07pm UTC](https://community.smartthings.com/t/direct-to-app-store-page-instead-of-implemented-oauth-login-page-when-trying-to-connect-service/260870 "2023-03-21T15:07:40Z")

</div>

Recently, our Facebook account that connected to our SmartThings integration was suspended. So we are seeing the message, “the connection was interrupted”, in the SmartThings App.(Pic 1) However, when we tried to lo…

---

## [OAuth error when adding to Google Home](https://community.smartthings.com/t/oauth-error-when-adding-to-google-home/255198)

<div class="topic-metadata">

**Author:** [@Jack\_Gladas](https://community.smartthings.com/u/Jack_Gladas)\
**Replies:** 4\
**Last updated:** [January 2, 2023, 10:25am UTC](https://community.smartthings.com/t/oauth-error-when-adding-to-google-home/255198 "2023-01-02T10:25:45Z")

</div>

I’ve got a new Samsung TV. I’ve created a SmartThings account, which I’m logged into on both the TV and on the Android app on my phone. I’m trying to add the TV to Google Home (so that I can bypass the SmartThings app a…

---

## [How to implement OAuth2 on our app to allow users to connect to their smarthings account](https://community.smartthings.com/t/how-to-implement-oauth2-on-our-app-to-allow-users-to-connect-to-their-smarthings-account/252574)

<div class="topic-metadata">

**Author:** [@Victorc](https://community.smartthings.com/u/Victorc)\
**Replies:** 5\
**Last updated:** [November 25, 2022, 11:02pm UTC](https://community.smartthings.com/t/how-to-implement-oauth2-on-our-app-to-allow-users-to-connect-to-their-smarthings-account/252574 "2022-11-25T23:02:02Z")

</div>

Hi, we need to use OAuth2 for authentication to allow our app users to connect to their smart things accounts in order to control various smart devices that they have. Is there any documentation that shows how to do this…

---

## [oAuth production strategy returning "Unexpected server error"](https://community.smartthings.com/t/oauth-production-strategy-returning-unexpected-server-error/240481)

<div class="topic-metadata">

**Author:** [@Amba](https://community.smartthings.com/u/Amba)\
**Replies:** 2\
**Last updated:** [March 10, 2022, 7:23pm UTC](https://community.smartthings.com/t/oauth-production-strategy-returning-unexpected-server-error/240481 "2022-03-10T19:23:57Z")

</div>

Hi, We have 3 client ids for 3 different versions of our web app (one testing, one local development and one production). Our clients connect their Samsung accounts using oAuth. We have set up different client\_id and c…

---

## [Using refresh\_token to refresh the API access\_token](https://community.smartthings.com/t/using-refresh-token-to-refresh-the-api-access-token/240168)

<div class="topic-metadata">

**Author:** [@erisinger](https://community.smartthings.com/u/erisinger)\
**Replies:** 7\
**Last updated:** [March 4, 2022, 3:53pm UTC](https://community.smartthings.com/t/using-refresh-token-to-refresh-the-api-access-token/240168 "2022-03-04T15:53:58Z")

</div>

Hi, I’ve reached out to support about this but hoping the community might have some input as well. I have an API Access project that gets issued OAuth2 access tokens for access to users’ locations. The access tokens e…

---

## [Cloud Connector - auth0](https://community.smartthings.com/t/cloud-connector-auth0/239465)

<div class="topic-metadata">

**Author:** [@jkruza](https://community.smartthings.com/u/jkruza)\
**Replies:** 2\
**Last updated:** [February 15, 2022, 7:43pm UTC](https://community.smartthings.com/t/cloud-connector-auth0/239465 "2022-02-15T19:43:46Z")

</div>

Hi, I’m trying to add my first DYI device using cloud connector / st schema. The idea is: use auth0 as oauth server webhook hosted in DMZ (for now…) I have managed to get to the point where I see my app/device in Sm…

---

## [OAuth for SmartThings](https://community.smartthings.com/t/oauth-for-smartthings/237994)

<div class="topic-metadata">

**Author:** [@aburst42](https://community.smartthings.com/u/aburst42)\
**Replies:** 8\
**Last updated:** [January 25, 2022, 10:59pm UTC](https://community.smartthings.com/t/oauth-for-smartthings/237994 "2022-01-25T22:59:12Z")

</div>

Hello, I have a classic Smart App (installed via graph.api.smartthings.com), which I’m used to accessing programmatically, authenticated/authorized via OAuth. I’ve been successfully using SmartThings. Add a little smart…

---

## [HTTP\_AUTHORIZATION Bearer header missing, but is included in json?](https://community.smartthings.com/t/http-authorization-bearer-header-missing-but-is-included-in-json/226239)

<div class="topic-metadata">

**Author:** [@willemmerson](https://community.smartthings.com/u/willemmerson)\
**Replies:** 5\
**Last updated:** [December 30, 2021, 1:26pm UTC](https://community.smartthings.com/t/http-authorization-bearer-header-missing-but-is-included-in-json/226239 "2021-12-30T13:26:48Z")

</div>

I have created a Cloud Connector SmartThings Schema webhook and set up oauth so that a Django app on my cloud is receiving http POST requests from SmartThings. This is all working fine and my oauth provider is getting an…

---

## [Invalid refresh token](https://community.smartthings.com/t/invalid-refresh-token/180801)

<div class="topic-metadata">

**Author:** [@Madalina](https://community.smartthings.com/u/Madalina)\
**Replies:** 2\
**Last updated:** [July 16, 2021, 11:30am UTC](https://community.smartthings.com/t/invalid-refresh-token/180801 "2021-07-16T11:30:27Z")

</div>

Hello. I have some issues with tokens refreshing. After I obtained my tokens, I can do the refreshing only a short period of time. From various reasons, my access\_token cannot be refreshing after a few days (~5 days, …

---

## [Regarding API Access for Oauth integration](https://community.smartthings.com/t/regarding-api-access-for-oauth-integration/225875)

<div class="topic-metadata">

**Author:** [@swathi.manoravi](https://community.smartthings.com/u/swathi.manoravi)\
**Replies:** 8\
**Last updated:** [May 21, 2021, 2:53pm UTC](https://community.smartthings.com/t/regarding-api-access-for-oauth-integration/225875 "2021-05-21T14:53:05Z")

</div>

Hi @erickv @nayelyz and team We are trying to integrate with smartthings API and we face the following issue. We get the authorization code in the first step by hitting this endpoint https://auth-global.api.smartthings…

---

## [Installed App ID - OAuth](https://community.smartthings.com/t/installed-app-id-oauth/206685)

<div class="topic-metadata">

**Author:** [@Warren1](https://community.smartthings.com/u/Warren1)\
**Replies:** 13\
**Last updated:** [November 25, 2020, 3:05pm UTC](https://community.smartthings.com/t/installed-app-id-oauth/206685 "2020-11-25T15:05:17Z")

</div>

Hi all, I am implmenting an OAuth flow for allowing users to access the Smarthings Api through my application. I have functionality to get the OAuth access token from the users but I am just curious on what the installe…

---

## [UserInfo - OAuth - how to get it](https://community.smartthings.com/t/userinfo-oauth-how-to-get-it/195539)

<div class="topic-metadata">

**Author:** [@Ratel](https://community.smartthings.com/u/Ratel)\
**Replies:** 9\
**Last updated:** [June 12, 2020, 8:10am UTC](https://community.smartthings.com/t/userinfo-oauth-how-to-get-it/195539 "2020-06-12T08:10:40Z")

</div>

Hi, I’m developing SpringBoot application that should authorize using OAuth2 with SmartThings account. I’m getting Authorization Code, Access Token, but unfortunately I’m not able to get any information about user. Is t…

---

## [Help with DTH and 'tile' in new app](https://community.smartthings.com/t/help-with-dth-and-tile-in-new-app/195981)

<div class="topic-metadata">

**Author:** [@TimeLord](https://community.smartthings.com/u/TimeLord)\
**Replies:** 1\
**Last updated:** [June 2, 2020, 8:55pm UTC](https://community.smartthings.com/t/help-with-dth-and-tile-in-new-app/195981 "2020-06-02T20:55:16Z")

</div>

I got a question about my newly created DTH. The new app does not show the current temperature in it’s tile. This is my first DTH so I am already really happy it’s able to pull it’s data from that api… But a working tile…

---

## [Can't implement OAuth for Cloud-To-Cloud](https://community.smartthings.com/t/cant-implement-oauth-for-cloud-to-cloud/143258)

<div class="topic-metadata">

**Author:** [@atlascoder](https://community.smartthings.com/u/atlascoder)\
**Replies:** 9\
**Last updated:** [March 1, 2019, 4:25pm UTC](https://community.smartthings.com/t/cant-implement-oauth-for-cloud-to-cloud/143258 "2019-03-01T16:25:14Z")

</div>

Hello! I am developing a solution for a product and trying to implement C2C connection. I am in stuck with linking SmartThings with my backend via OAuth. I get request { "lifecycle": "CONFIGURATION", "executio…

---

## [OAuth 2.0 flow?](https://community.smartthings.com/t/oauth-2-0-flow/155292)

<div class="topic-metadata">

**Author:** [@SandeepMaganti](https://community.smartthings.com/u/SandeepMaganti)\
**Replies:** 7\
**Last updated:** [August 17, 2019, 7:52pm UTC](https://community.smartthings.com/t/oauth-2-0-flow/155292 "2019-08-17T19:52:58Z")

</div>

Hello, I’m developing a third party application where our user’s can connect their devices to Smart Things and perform actions. I’m stuck at implementing OAuth. I have implemented PING life cycle to a webhook URL and cre…

---

## [OAuth failure](https://community.smartthings.com/t/oauth-failure/160830)

<div class="topic-metadata">

**Author:** [@Jimmy\_Morgan](https://community.smartthings.com/u/Jimmy_Morgan)\
**Replies:** 1\
**Last updated:** [April 13, 2019, 2:34am UTC](https://community.smartthings.com/t/oauth-failure/160830 "2019-04-13T02:34:06Z")

</div>

I created a new app using the source code from https://github.com/SmartThingsCommunity/Code/blob/master/smartapps/tutorials/web-services-smartapps/smartapp/web-services-smartapp.groovy. However, whenever I try to oauth a…

---

## [Why do I have the same location twice when getting endpoints for my Smart App](https://community.smartthings.com/t/why-do-i-have-the-same-location-twice-when-getting-endpoints-for-my-smart-app/148337)

<div class="topic-metadata">

**Author:** [@Nicolas\_GUILLAUME](https://community.smartthings.com/u/Nicolas_GUILLAUME)\
**Replies:** 0\
**Last updated:** [December 31, 2018, 3:54am UTC](https://community.smartthings.com/t/why-do-i-have-the-same-location-twice-when-getting-endpoints-for-my-smart-app/148337 "2018-12-31T03:54:20Z")

</div>

Hello, I’ve been working on a Smart App for a little while and I was adding support for a second location when I discovered something odd. When calling https://graph.api.smartthings.com/api/smartapps/endpoints the list …

---

## [Electric Imp Integration: A simple environmental monitor for 35$](https://community.smartthings.com/t/electric-imp-integration-a-simple-environmental-monitor-for-35/50283)

<div class="topic-metadata">

**Author:** [@Dave\_Meyer](https://community.smartthings.com/u/Dave_Meyer)\
**Replies:** 2\
**Last updated:** [October 30, 2018, 7:31pm UTC](https://community.smartthings.com/t/electric-imp-integration-a-simple-environmental-monitor-for-35/50283 "2018-10-30T19:31:35Z")

</div>

Warning:Relevant yet Shameless Plug I recently wrote a blog about integrating Electric Imp devices in to SmartThings. The project creates a smart app which receives secure data from electric imp and allows the user to c…

---

## [Token expiration in createAccessToken()](https://community.smartthings.com/t/token-expiration-in-createaccesstoken/137792)

<div class="topic-metadata">

**Author:** [@johndc7](https://community.smartthings.com/u/johndc7)\
**Replies:** 0\
**Last updated:** [September 26, 2018, 10:35pm UTC](https://community.smartthings.com/t/token-expiration-in-createaccesstoken/137792 "2018-09-26T22:35:49Z")

</div>

Couldn’t find any information regarding the expiration of the token created with createAccessToken(). Was looking into using this as an alternative to the process found in the web services SmartApp authorization. The i…

---

## [Install/OAuth Automation SmartApp via Web Browser?](https://community.smartthings.com/t/install-oauth-automation-smartapp-via-web-browser/126618)

<div class="topic-metadata">

**Author:** [@hchen](https://community.smartthings.com/u/hchen)\
**Replies:** 4\
**Last updated:** [July 2, 2018, 9:32pm UTC](https://community.smartthings.com/t/install-oauth-automation-smartapp-via-web-browser/126618 "2018-07-02T21:32:18Z")

</div>

Hello, I’ve been fiddling around with the new SmartApp (Automation) found here: https://smartthings.developer.samsung.com/develop/guides/smartapps/quickstart-automation.html I’ve setup a Webhook, created and self publ…

---

## [Passport Authorization | "Allow external service to control these things..." menu is blank](https://community.smartthings.com/t/passport-authorization-allow-external-service-to-control-these-things-menu-is-blank/128921)

<div class="topic-metadata">

**Author:** [@thejaffe](https://community.smartthings.com/u/thejaffe)\
**Replies:** 0\
**Last updated:** [June 21, 2018, 3:51pm UTC](https://community.smartthings.com/t/passport-authorization-allow-external-service-to-control-these-things-menu-is-blank/128921 "2018-06-21T15:51:44Z")

</div>

Trying to use the node module passport-smartthings to handle authentication and acquiring tokens, but when I test the code I it doesn’t display anything underneath the “Allow external service to control these things…” me…

---

## [500 Internal Server Error during oAuth Authorization](https://community.smartthings.com/t/500-internal-server-error-during-oauth-authorization/92331)

<div class="topic-metadata">

**Author:** [@Rohit\_Gandhe](https://community.smartthings.com/u/Rohit_Gandhe)\
**Replies:** 9\
**Last updated:** [May 15, 2018, 9:06pm UTC](https://community.smartthings.com/t/500-internal-server-error-during-oauth-authorization/92331 "2018-05-15T21:06:15Z")

</div>

I get the dreaded 500 error when trying the auth workflow to get an access token. Is there any way to get the actual stack trace to see what I am doing wrong? Do you see anything wrong/missing from the request? Thank…

[Next page](https://community.smartthings.com/tag/oauth/69.md?match_all_tags=true&page=1&tags%5B%5D=oauth)
