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
* Create a `.env` file with a `NETWORK_ID` and `NETWORK_SECRET`. e.g.
47
+
48
+
```bash
49
+
TWITTER_ID='twit1234'
50
+
TWITTER_SECRET='secret1234'
51
+
YAHOO_ID='yahoo1234'
52
+
YAHOO_SECRET='secret1234'
53
+
```
54
+
55
+
* Then start up the server...
56
+
57
+
```bash
58
+
PORT=5500 env $(cat .env | xargs) node example.js
59
+
```
60
+
61
+
This sets the `.env` lines as local environment variables and will startup a server on port 5500. Now define your `redirect_uri` via `hello.init` to point to `http://localhost:5500/proxy`.
62
+
37
63
38
-
The code above says apply the shim to all requests to the pathname `/oauthproxy`.
0 commit comments