{"_id":"550ada9e921b7d0d0022888c","version":{"_id":"550ada9d921b7d0d00228876","forked_from":"550a3b2542fff40d00ae5ffb","project":"550a379f635c660d00527fd8","__v":3,"createdAt":"2015-03-19T14:18:05.245Z","releaseDate":"2015-03-19T14:18:05.245Z","categories":["550ada9d921b7d0d00228877","550ada9d921b7d0d00228878","550ada9d921b7d0d00228879","550ada9d921b7d0d0022887a","550ada9d921b7d0d0022887b","550ada9d921b7d0d0022887c","550ada9d921b7d0d0022887d","5523e61e71c0542100993493","55246f72ccc28a0d0062c560"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"3.0.0","version":"3.0.0"},"category":{"_id":"550ada9d921b7d0d00228878","version":"550ada9d921b7d0d00228876","__v":4,"pages":["550ada9e921b7d0d0022888c","550ada9e921b7d0d0022888d","550ada9e921b7d0d0022888e","550ada9e921b7d0d0022888f","55121961a575b32f007c79f1","55297f32b316811900149fac","5595b553f4437019002888fc"],"project":"550a379f635c660d00527fd8","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-03-19T02:45:48.278Z","from_sync":false,"order":2,"slug":"authentication","title":"Authentication"},"project":"550a379f635c660d00527fd8","user":"550a378e635c660d00527fd7","__v":11,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-03-19T02:52:42.850Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":0,"body":"## Creating an application\n\nVisit the [Reddit application console](https://ssl.reddit.com/prefs/apps) and create an application. There are three application types when creating an app:\n\n- **script** - Great for bots.\n  - Username and password based authentication.\n  - Very easy to setup.\n- **web app** - Great for server based web applications.\n- **installed app** - Great for mobile & browser.\n\n## Choosing an OAuth type\n\nThere are several OAuth types. Read the brief descriptions below and choose one that fits your needs to read more about them.\n\n - [Script based OAuth](doc:oauth-script) - Exclusively for the application type **script** (see above).\n - [Explicit based OAuth](doc:oauth-explicit)  - Web or Installed applications (web server required)\n - [Implicit based OAuth](doc:oauth-implicit) - Used for client side JavaScript applications (does *not* require a web server)\n - [Application Only OAuth](doc:oauth-application-only) - OAuth without a user context (can't \"log in\")\n\n## Other Resources\n\n - [Official OAuth2 documentation](https://github.com/reddit/reddit/wiki/OAuth2) on the reddit GitHub wiki.","excerpt":"It's not as bad as you think.","slug":"oauth-overview","type":"basic","title":"OAuth Overview"}

OAuth Overview

It's not as bad as you think.

## Creating an application Visit the [Reddit application console](https://ssl.reddit.com/prefs/apps) and create an application. There are three application types when creating an app: - **script** - Great for bots. - Username and password based authentication. - Very easy to setup. - **web app** - Great for server based web applications. - **installed app** - Great for mobile & browser. ## Choosing an OAuth type There are several OAuth types. Read the brief descriptions below and choose one that fits your needs to read more about them. - [Script based OAuth](doc:oauth-script) - Exclusively for the application type **script** (see above). - [Explicit based OAuth](doc:oauth-explicit) - Web or Installed applications (web server required) - [Implicit based OAuth](doc:oauth-implicit) - Used for client side JavaScript applications (does *not* require a web server) - [Application Only OAuth](doc:oauth-application-only) - OAuth without a user context (can't "log in") ## Other Resources - [Official OAuth2 documentation](https://github.com/reddit/reddit/wiki/OAuth2) on the reddit GitHub wiki.