summaryrefslogtreecommitdiff
path: root/doc/api/oauth2.md
diff options
context:
space:
mode:
authorMatt Lee <mattl@gitlab.com>2016-11-29 12:42:50 -0500
committerMatt Lee <mattl@gitlab.com>2016-11-29 12:42:50 -0500
commit2ed6941f519331a44204fbadc6d2d2a91087c6b8 (patch)
tree293ac446c600ad4148c97f1b89ee409824c94620 /doc/api/oauth2.md
parent25e6e2fc73c476bdef8465975165894ac01da991 (diff)
downloadgitlab-ce-api-docs-fix.tar.gz
WIP: Updates our documentation to point to gitlab.comapi-docs-fix
Diffstat (limited to 'doc/api/oauth2.md')
-rw-r--r--doc/api/oauth2.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/oauth2.md b/doc/api/oauth2.md
index 5ef5e3f5744..205c031010d 100644
--- a/doc/api/oauth2.md
+++ b/doc/api/oauth2.md
@@ -32,7 +32,7 @@ Each application gets a unique App ID and App Secret parameters.
To request the authorization code, you should redirect the user to the `/oauth/authorize` endpoint:
```
-https://gitlab.example.com/oauth/authorize?client_id=APP_ID&redirect_uri=REDIRECT_URI&response_type=code&state=your_unique_state_hash
+https://gitlab.com/oauth/authorize?client_id=APP_ID&redirect_uri=REDIRECT_URI&response_type=code&state=your_unique_state_hash
```
This will ask the user to approve the applications access to their account and then redirect back to the `REDIRECT_URI` you provided.