forked from LaconicNetwork/icns-frontend
Merge branch 'main' of github.com:interchain-name/icns-frontend
This commit is contained in:
commit
9db9a0478b
@ -12,7 +12,8 @@ TWITTER_AUTH_CALLBACK_URI=...
|
|||||||
|
|
||||||
IRON_PASSWORD=...
|
IRON_PASSWORD=...
|
||||||
|
|
||||||
ICNS_VERIFIER_URI=...
|
# must be separated by commas
|
||||||
|
ICNS_VERIFIER_ORIGIN_LIST=http:localhost:8080,http://localhost:8081
|
||||||
```
|
```
|
||||||
|
|
||||||
Run the development server:
|
Run the development server:
|
||||||
|
@ -23,6 +23,8 @@ export default withIronSessionApiRoute(async function handler(
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
req.session.destroy();
|
||||||
|
|
||||||
const codeVerifier = base64URLEncode(crypto.randomBytes(32));
|
const codeVerifier = base64URLEncode(crypto.randomBytes(32));
|
||||||
req.session.code_verifier = codeVerifier;
|
req.session.code_verifier = codeVerifier;
|
||||||
await req.session.save();
|
await req.session.save();
|
||||||
|
Loading…
Reference in New Issue
Block a user