This project is an OAuth2 server implementation for testing purposes. See RFC 6749. It's useful for testing client applications that authenticate to other services via OAuth. Rather than using the external service, which requires API keys and credentials for users, you can use this service as a stub for the external service. It accepts any email address and password combination. It does not provide any sort of long term storage of access or refresh tokens.
To configure a SmartThings ST Schema connector to use this service, remix the service and set the EXPECTED_CLIENT_ID
and EXPECTED_CLIENT_SECRET variables in the .env file to values of you choosing. You don't have to set these values
but doing so will allow you to restrict the use of your server to only your ST schema integrations.
When the server restarts after you edit the variable it will log the values you should use to configure the ST Schema connector in the SmartThings Developer Workspace. The default values, if you don't specify your own client ID and secret, are:
Client ID: 6b7a267e-9010-476f-bdac-e84f0b376c78
Client Secret: dummy-client-secret
Authorization URI: /oauth/login
Refresh Token URL: /oauth/token