Commit
·
212a332
1
Parent(s):
6732e81
Update index.js
Browse files
index.js
CHANGED
|
@@ -81,6 +81,7 @@ async function oauthLogin(opts) {
|
|
| 81 |
}
|
| 82 |
|
| 83 |
if (!state.startsWith(nonce + ":")) {
|
|
|
|
| 84 |
throw new Error("Invalid oauth state in redirected URL");
|
| 85 |
}
|
| 86 |
|
|
|
|
| 81 |
}
|
| 82 |
|
| 83 |
if (!state.startsWith(nonce + ":")) {
|
| 84 |
+
console.log(state, nonce+":")
|
| 85 |
throw new Error("Invalid oauth state in redirected URL");
|
| 86 |
}
|
| 87 |
|