You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to run and test my application on localhost:3000. I want to mock all requests against my local keycloak (localhost:8888).
I already found: #867
So I mocked "/openid-configuration", "/token", "/authorize?*".
I used one old jwt token as access_token (I don't know if this works, because the token is not valid anymore.).
Error: Metadata does not contain property userinfo_endpoint
at MetadataService._getMetadataProperty (webpack-internal:///(app-pages-browser)/./node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js:728:21)
at async UserInfoService.getClaims (webpack-internal:///(app-pages-browser)/./node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js:915:17)
at async ResponseValidator._processClaims (webpack-internal:///(app-pages-browser)/./node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js:1209:20)
at async ResponseValidator.validateSigninResponse (webpack-internal:///(app-pages-browser)/./node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js:1129:5)
at async OidcClient.processSigninResponse (webpack-internal:///(app-pages-browser)/./node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js:1716:5)
at async UserManager._signinEnd (webpack-internal:///(app-pages-browser)/./node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js:2891:28)
at async UserManager.signinRedirectCallback (webpack-internal:///(app-pages-browser)/./node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js:2611:18)
at async UserManager.signinCallback (webpack-internal:///(app-pages-browser)/./node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js:2774:16)
at async eval (webpack-internal:///(app-pages-browser)/./node_modules/react-oidc-context/dist/esm/react-oidc-context.js:179:18)
T
The text was updated successfully, but these errors were encountered:
Hi,
I want to run and test my application on localhost:3000. I want to mock all requests against my local keycloak (localhost:8888).
I already found: #867
So I mocked "/openid-configuration", "/token", "/authorize?*".
I used one old jwt token as access_token (I don't know if this works, because the token is not valid anymore.).
But my test fails with error:
Error: Metadata does not contain property userinfo_endpoint at MetadataService._getMetadataProperty (webpack-internal:///(app-pages-browser)/./node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js:728:21) at async UserInfoService.getClaims (webpack-internal:///(app-pages-browser)/./node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js:915:17) at async ResponseValidator._processClaims (webpack-internal:///(app-pages-browser)/./node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js:1209:20) at async ResponseValidator.validateSigninResponse (webpack-internal:///(app-pages-browser)/./node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js:1129:5) at async OidcClient.processSigninResponse (webpack-internal:///(app-pages-browser)/./node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js:1716:5) at async UserManager._signinEnd (webpack-internal:///(app-pages-browser)/./node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js:2891:28) at async UserManager.signinRedirectCallback (webpack-internal:///(app-pages-browser)/./node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js:2611:18) at async UserManager.signinCallback (webpack-internal:///(app-pages-browser)/./node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js:2774:16) at async eval (webpack-internal:///(app-pages-browser)/./node_modules/react-oidc-context/dist/esm/react-oidc-context.js:179:18)
T
The text was updated successfully, but these errors were encountered: