Skip to content

Commit bef709a

Browse files
committed
change timeout and stale state constants
1 parent b4bd5e2 commit bef709a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/IFrameWindow.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import Log from './Log';
55

6-
const DefaultTimeout = 5000;
6+
const DefaultTimeout = 30000;
77

88
export default class IFrameWindow {
99

src/OidcClientSettings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const OidcMetadataUrlPath = '.well-known/openid-configuration';
1010

1111
const DefaultResponseType = "id_token";
1212
const DefaultScope = "openid";
13-
const DefaultStaleStateAge = 60; // seconds
13+
const DefaultStaleStateAge = 60 * 5; // seconds
1414
const DefaultClockSkewInSeconds = 60 * 5;
1515

1616
export default class OidcClientSettings {

0 commit comments

Comments
 (0)