You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You must have a developer account and app to use this tool.
38
+
39
+
App authentication:
40
+
```bash
41
+
xurl auth app --bearer-token BEARER_TOKEN
42
+
```
43
+
37
44
OAuth 2.0 authentication:
38
45
```bash
39
46
xurl auth oauth2
40
47
```
41
48
49
+
**Note:** For OAuth 2.0 authentication, you must specify the redirect URI in the [X API developer portal](https://developer.x.com/en/portal/dashboard).
50
+
51
+
1. Create an app at the [X API developer portal](https://developer.x.com/en/portal/dashboard).
52
+
2. Go to authentication settings and set the redirect URI to `http://localhost:8080/callback`.
53
+

54
+

55
+
3. Set the client ID and secret in your environment variables.
0 commit comments