GET oauth/authorize
Allows a Consumer application to use an OAuth Request Token to request user authorization. This method fulfills Section 6.2 of the OAuth 1.0 authentication flow. Desktop applications must use this method (and cannot use GET oauth / authenticate).
Usage Note: An oauth_callback
is never sent to this method, provide it to POST oauth / request_token instead.
Resource URL¶
https://api.x.com/oauth/authorize
Resource Information¶
Response formats | JSON |
Requires authentication? | Yes |
Rate limited? | Yes |
Parameters¶
Name | Required | Description | Default Value | Example |
force_login | optional | Forces the user to enter their credentials to ensure the correct users account is authorized. | ||
screen_name | optional | Prefills the username input box of the OAuth login screen with the given value. |
Example request¶
Send the user to the oauth/authorize
step in a web browser, including an oauth_token parameter:
https://api.x.com/oauth/authorize?oauth_token=Z6eEdO8MOmk394WozF5oKyuAv855l4Mlqo7hhlSLik