albertvillanova HF Staff commited on
Commit
887a7ab
·
verified ·
1 Parent(s): 57baf4c

Fix authentication in README

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -58,14 +58,14 @@ https://enterprise.wikimedia.com/docs/#getting-started
58
  auth = r.json()
59
  ```
60
 
61
- 4. Now you can use your access token (`auth["ACCESS_TOKEN"]`) to authenticate:
62
 
63
  ```python
64
  storage_options={
65
  "https": {
66
  "client_kwargs": {
67
  "headers": {
68
- "Authorization": f"Bearer {auth['ACCESS_TOKEN']}"
69
  }
70
  }
71
  }
 
58
  auth = r.json()
59
  ```
60
 
61
+ 4. Now you can use your access token (`auth["access_token"]`) to authenticate:
62
 
63
  ```python
64
  storage_options={
65
  "https": {
66
  "client_kwargs": {
67
  "headers": {
68
+ "Authorization": f"Bearer {auth['access_token']}"
69
  }
70
  }
71
  }