I'm developing an application where I'd like to use credentials from external websites. This will be used to login with the website API and get information for the user.

Example: I want to use the user Reddit's account to warn him if more than X people reply to one of his comment.

How would I go about storing the user's Reddit credentials on my end securely so I only ask once and can automate this process. Or is that even possible?


1 Answer 1


You shouldn't store a user's login credentials to a third-party service. Instead, reddit provides an oAuth API to acquire access to parts of the website that require user authentication. See: https://www.reddit.com/dev/api/oauth.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.