You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cd supertokens-golang/examples/with-http
go run main.go
You will need to setup your frontend react app to use thirdpartyemailpassword recipe and add this provider in the providers list.:
{
id: "reddit",
name: "Reddit"
}
If you do not have a frontend app setup, you can use this example app. Before running npm run start though, make sure to comment out this line (it will disable the node server in the example app to listen on port 3001 since we are running the backend via the go with-http example above.
Then on the frontend, you can click on "Sign in with reddit" and post redirection, you should see the following output in your terminal (where you ran the go command):
Status code:
429
invalid character '<' looking for beginning of value
This indicates that reddit returned a 429 status code (too many requests). This happens when calling the https://www.reddit.com/api/v1/access_token API to exchange the auth code with the access token.
The API call in the SDK that yields this error happens here. When trying to fix this issue, feel free to modify this file and rerun the signin process via the frontend app.
The text was updated successfully, but these errors were encountered:
I have created a branch in the supertokens-golang repo: https://github.com/supertokens/supertokens-golang/tree/sign-in-with-reddit which contains an example app with sign in with reddit that yields a 429 error.
To run the app, do:
You will need to setup your frontend react app to use thirdpartyemailpassword recipe and add this provider in the providers list.:
If you do not have a frontend app setup, you can use this example app. Before running
npm run start
though, make sure to comment out this line (it will disable the node server in the example app to listen on port3001
since we are running the backend via thego
with-http example above.Then on the frontend, you can click on "Sign in with reddit" and post redirection, you should see the following output in your terminal (where you ran the
go
command):This indicates that reddit returned a 429 status code (too many requests). This happens when calling the
https://www.reddit.com/api/v1/access_token
API to exchange the auth code with the access token.The API call in the SDK that yields this error happens here. When trying to fix this issue, feel free to modify this file and rerun the signin process via the frontend app.
The text was updated successfully, but these errors were encountered: