Skip to content
Snippets Groups Projects

fix(view): open new views as tabs + show Getting Started button by default

1 file
+ 8
0
Compare changes
  • Side-by-side
  • Inline
@@ -14,6 +14,14 @@ export default class KeycloakOAuth2DeviceFlowConnection {
private deviceAuthorizationRequestResponseData: DeviceAuthorizationRequestResponseData;
constructor(private deviceUrl: string, private tokenUrl: string, private userInfoUrl: string) {
/*
* Arbitrary durations to wait in seconds \
* Waiting time between requests should be increasing
* if Keycloak api reponds with error code `slow_down` \
* otherwise, it will continue to respond with this error code. \
* The minimal waiting duration has been chosen to not be too short: \
* Keycloak may saturate and crash due to too many requests.
*/
this.waitDuration = new WaitDuration([5_000, 5_000, 5_000, 10_000, 10_000, 10_000, 30_000, 30_000, 100_000]);
this.accessToken = '';
this.refreshToken = '';
Loading