-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add silent token refreshing with Keycloak only
after this change the tokens will be refreshed automatically before the refresh token expires even if the user does nothing also: - set predictable environment variables for tests using .env.test to make tests run the same locally and in CI/CD pipeline refs KK-1156
- Loading branch information
1 parent
ade1782
commit f05ef57
Showing
7 changed files
with
176 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
PORT=3001 | ||
REACT_APP_OIDC_AUDIENCES=kukkuu-api-test | ||
REACT_APP_OIDC_AUTHORITY=https://tunnistus.test.hel.ninja/auth/realms/helsinki-tunnistus/ | ||
REACT_APP_OIDC_CLIENT_ID=kukkuu-admin-ui-test | ||
REACT_APP_OIDC_KUKKUU_API_CLIENT_ID=kukkuu-api-test | ||
REACT_APP_OIDC_RETURN_TYPE=code | ||
REACT_APP_OIDC_SCOPE="openid profile email" | ||
REACT_APP_OIDC_SERVER_TYPE=KEYCLOAK | ||
REACT_APP_KUKKUU_API_OIDC_SCOPE=https://api.hel.fi/auth/kukkuu | ||
REACT_APP_API_URI=https://kukkuu.api.test.hel.ninja/graphql | ||
REACT_APP_SENTRY_DSN=https://[email protected]/55 | ||
REACT_APP_IS_TEST_ENVIRONMENT=0 | ||
|
||
BROWSER_TESTS_UID= | ||
BROWSER_TESTS_PWD= | ||
BROWSER_TESTS_ENV_URL=http://localhost:3001 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters