🌐
Reddit
reddit.com › r/redditdev › api key credentials
r/redditdev on Reddit: API Key Credentials
May 1, 2022 -

Hey folks, this is baffling me - how do I create a new app/get API credentials?

When I go to /pref/apps I just get a "You are already logged in and will be redirected"

But when I get redirected I end up on the same screen.

Any insights? :-)

Thanks!

🌐
Reddit
reddit.com › r › reddit.com › wiki › api
r/reddit.com Wiki: Reddit API Access
November 28, 2023 - When you are ready, you must register in order to use the Reddit API. Select “I’m a Developer” and “I want to register to use the Reddit API.” Then, you can create credentials here.
🌐
Data365
data365.co › blog › how-to-get-reddit-api-key
How to Get Reddit API Key: Step-by-Step or Skip-the-Setup? | Data365.co
May 27, 2025 - The very first step on your journey to Reddit data is creating an account, in case you haven't one yet. After, to access Reddit’s API, you also need to register an app. This gives you the Reddit API credentials the platform uses to identify ...
🌐
Reddit
reddit.com › r/openbb › how to generate and authorize reddit api credentials for use with the openbb terminal.
r/openBB on Reddit: How to Generate and Authorize Reddit API Credentials for use With the OpenBB Terminal.
September 12, 2022 - Just add the following lines, replacing with your credentials and keeping the single quotation marks encapsulating them: OPENBB_API_REDDIT_CLIENT_ID='CLIENT_ID' OPENBB_API_REDDIT_CLIENT_SECRET='CLIENT_SECRET' OPENBB_API_REDDIT_USERNAME='USERNAME' OPENBB_API_REDDIT_PASSWORD='PASSWORD' OPENBB_API_REDDIT_USER_AGENT='THE_APPLICATION_NAME'
🌐
n8n
docs.n8n.io › integrations › builtin › credentials › reddit
Reddit credentials | n8n Docs
Documentation for Reddit credentials. Use these credentials to authenticate Reddit in n8n, a workflow automation platform.
🌐
YouTube
youtube.com › watch
Reddit API Tutorial: How to Get Your API Keys in 2024 | Beginner's Guide - YouTube
Learn how to obtain your Reddit API keys with this step-by-step tutorial. Perfect for beginners and developers looking to integrate Reddit functionality into...
Published   July 24, 2024
🌐
Reddit
reddit.com › r/revancedapp › reddit is restricting all api access behind manual approval. revanced will no longer be able to patch old reddit apps
r/revancedapp on Reddit: Reddit is restricting all API access behind manual approval. Revanced will no longer be able to patch old reddit apps
November 11, 2025 - API key. It is possible to use that key to gain access on other apps, even if Reddit was to completely shut access. B. The policy doesn't seem to mention anything against using the keys to browse Reddit through your own app, albeit an official ...
🌐
JC Chouinard
jcchouinard.com › accueil › reddit api with python (complete guide)
Reddit API with Python (Complete Guide) - UPDATED 2024
April 4, 2025 - With the Reddit API, you can extract subreddit posts and data without any credentials!
Find elsewhere
🌐
Reddit
reddit.com › r/webdev › best practices for handling third-party api credentials
r/webdev on Reddit: Best practices for handling third-party API credentials
February 10, 2025 -

Hi,

What are the best practices for handling third-party API credentials in full stack apps?

Example: let's say we're building a SaaS app that uses OpenAI API. The user is expected to provide their own api key (and potentially the base url if they want to use an openai compatible api).

The backend will need these credentials to make calls to the third party api so we will have to send them from the frontend to the backend. We also don't want the user to enter these credentials every time they run an action, so we will have to store them in the database.

What are best practices for handling these credentials? We can't just hash them and store the hash as we need to get the actual key to send it to the 3rd party api. Should we encrypt the key in the backend before storing them in the database? If we do this, where do we store the encryption key? Should it be an environment variable that is provided during runtime (e.g. stored in a password manager in the cloud provider)? But this key needs to be stored permanently, which means we cannot rotate it easily, right?

Also, what about the frontend code? Assuming we're using react, are there things to keep in mind when handling the credentials? I know we should treat the key as a password (it shows up as ******* in the form).

One last thing, is the base url lf the third party considered a sensitive value? Should it also be encrypted or can we just store it as plain text?

Thanks in advance!

🌐
Reddit
reddit.com › r/infinity_for_reddit › if you want to use your own api key
r/Infinity_For_Reddit on Reddit: If You Want to Use Your Own API Key
June 18, 2023 -

Please change ALL of the following:

  • API key

  • Redirect URL

  • User-Agent (in Infinity)

Please don't just change the API key!!!!!!!!! And please use another app name without infinity in it 🥺.

I found many users had made some tutorials about how to use your own API key, like this post, but none of them mentioned the other two things. If you don't change all of them, reddit still knows you are using Infinity, but with your own key.

You can see more info here.

🌐
YouTube
youtube.com › watch
How To Get Reddit Api Key 2025! (Full Tutorial) - YouTube
How To Get Reddit Api Key 2025! (Full Tutorial) Today we talk about get reddit api key,reddit api,reddit api how-to,how to use the reddit api
Published   May 20, 2024
🌐
Apidog
apidog.com › blog › reddit-api-guide
Reddit API: Features, Pricing & Set-ups
August 1, 2025 - Sentiment AnalysisGetting Started with the Reddit APIStep 1: Create a Reddit AccountStep 2: Register Your ApplicationStep 3:Fill in the Application DetailsStep 4: Note Down the CredentialsStep 5: Authentication and AuthorizationStep 6: Make API RequestsUtilize Apidog to Get Auth token and Send Reddit API Request in one placeBest Practices and ConsiderationsChanges to Reddit APIConclusion
🌐
Reddit
reddit.com › dev › api
reddit.com: api documentation
The return value of this function is a json object containing credentials for uploading assets to S3 bucket, S3 url for upload request and the key to use for uploading. Using this lease the client will upload the emoji image to S3 temp bucket (included as part of the S3 URL).
🌐
Reddit
reddit.com › r/reactjs › api key - how do you "actually" secure it?
r/reactjs on Reddit: API key - How do you "actually" secure it?
May 13, 2024 -

After so many researches around the internet, I'm still unclear how does one actually store the API key securely.

Everyone just talks about using environment variables which I already know. BUT, that is not going to completely hide the key. Sure, it helps exclude it from the git repo but a build is still going to have the key exposed when the source is inspected through.

My question is, how do big websites secure their keys that even if the key is to be inspected from the source, their API access is still restricted?

Note that I'm not talking about the authenticated API access but let's say, an API to display public data like newsfeed etc... the authenticated API access is already self explanatory.

I tried to check around how Spotify does it, the client key is used to fetch the actual secret from Spotify's server that is used to then access the actual API endpoint. But even so, if the client key is known by someone, wouldn't they be able to access the endpoint by sending a request to fetch the actual secret? Can someone clear this up for me in an easy-to-underarand way?

I'm a self taught guy and I haven't actually worked with professionals on a real project to get some ideas from so it's kinda mind boggling for me right now.

Top answer
1 of 64
240
You simply do not send the secret to the frontend. In my case, we use Java Spring Boot as a backend to our React applications. For external APIs to which we need authentication, these requests go frontend -> backend -> external and back. The authentication is only added in the backend. Example: A user is logged in to our dashboard and wants to request callcenter statistics (from external API). The frontend will then call /api/callcenter with the users auth cookie as normal. This contains no auth for the external API. The backend validates user access and requests this data from the external API. The authentication for the external API is now read from the backend environment (or Hashicorp Vault in our case). A request is made to the external API whose response is then returned to the frontend. The user gets the data without ever bedding access to the authentication. Of course this is with a completely standalone backend but similar concepts apply with e.g. NextJS: authentication secrets are simply backend/server only and all frameworks will allow you to safeguard these. An example with OAuth for for example Spotify will be more complicated since these secrets are dynamic but for such a case I'd consider JWTE (encrypted client secrets, best if you already use JWT anyway) or storing these safely in a database.
2 of 64
134
Back end for front end, you create an api on your back end to be called which contains the api key, that way the key is never exposed.
🌐
Reddit
reddit.com › r/redditdev › reddit api guide needed
r/redditdev on Reddit: Reddit API Guide needed
September 19, 2024 -

I am trying to set up a basic reddit application, however the docs are rather a bit complex to understand, and I cannot find a tutorial, I have created the application in the developer thing, and have a client id and secret, how can I run the OAuth requests to get top posts from a subreddit, etc.

🌐
Public APIs
publicapis.io › home › social › reddit
Reddit API — Free Public API | Public APIs Directory
5 days ago - This will show you all of the authorized apps and API keys associated with your account. Here are some examples of how to use various endpoints of the Reddit API in JavaScript:
🌐
AlpsCode
alpscode.com › blog › how-to-use-reddit-api
How to use Reddit API - AlpsCode
December 18, 2018 - Only the user can hold on to this, as it will give access to the API itself. ... Reddit API requires users to obtain an access token before making queries. This token will tell the API server that we have authorization to reach information.
🌐
GitHub
github.com › reddit-archive › reddit › wiki › oauth2
OAuth2 · reddit-archive/reddit Wiki · GitHub
Scope Values: identity, edit, flair, history, modconfig, modflair, modlog, modposts, modwiki, mysubreddits, privatemessages, read, report, save, submit, subscribe, vote, wikiedit, wikiread.
Author   reddit-archive