We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e24217a commit d219d0dCopy full SHA for d219d0d
1 file changed
packages/authentication-oauth/src/express.ts
@@ -95,6 +95,10 @@ export default (options: OauthSetupSettings) => {
95
...payload
96
};
97
98
+ await new Promise((resolve, reject) =>
99
+ req.session.destroy(err => err ? reject(err) : resolve())
100
+ );
101
+
102
debug(`Calling ${authService}.create authentication with strategy ${name}`);
103
104
const authResult = await service.create(authentication, params);
0 commit comments