File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
content/developers/apps/building-oauth-apps Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -283,14 +283,16 @@ you or your users have two-factor authentication enabled.
283
283
284
284
The ` redirect_uri ` parameter is optional. If left out, GitHub will
285
285
redirect users to the callback URL configured in the OAuth Application
286
- settings. If provided, the redirect URL's host and port must exactly
286
+ settings. If provided, the redirect URL's host (excluding sub-domains) and port must exactly
287
287
match the callback URL. The redirect URL's path must reference a
288
288
subdirectory of the callback URL.
289
289
290
290
CALLBACK: http://example.com/path
291
291
292
292
GOOD: http://example.com/path
293
293
GOOD: http://example.com/path/subdir/other
294
+ GOOD: http://oauth.example.com/path
295
+ GOOD: http://oauth.example.com/path/subdir/other
294
296
BAD: http://example.com/bar
295
297
BAD: http://example.com/
296
298
BAD: http://example.com:8080/path
You can’t perform that action at this time.
0 commit comments