Comments (2)
Interesting... I have a similar issue:
I am using Vue with VueX and vuex-oidc (an oidc-client implementation for vue+vuex). I have a .env.local
file with auth-provider A:
VUE_APP_AUTH_PROVIDER_URL="https://auth.providerA.com/auth/realms/my-realm"
VUE_APP_AUTH_CLIENT_ID="my-client"
and my cypress.json
has configured provider B:
{
...
"env": {
"auth_base_url": "https://auth.providerB.com/auth",
"auth_realm": "my-realm",
"auth_client_id": "my-client"
}
...
}
When I use kcFakeLogin("user")
somehow cypress tries to open a frame to https://auth.providerA.com
- which makes me wonder, since my cypress.json
is using providerB ... Both are configured and work in dev mode, but cypress somehow doesn't know which one to use...
from cypress-keycloak-commands.
Update
I figured out how to fix my chrome-error
, redirects-error
, CORS-error
issues.
Maybe this can help.
from cypress-keycloak-commands.
Related Issues (20)
- Add support for client-secret beside client-id HOT 11
- Token request not stubbed when running tests on production environment
- error: kcLogin: no location in response headers HOT 2
- kcLogin: Blocked a frame with origin "http://localhost:3000" from accessing a cross-origin frame. HOT 7
- Documentation typos should be fixed
- Is the static user fixture a requirement? HOT 8
- Cannot authenticate - No cookies being set HOT 1
- Chrome 87, Cookies and kcLogin HOT 2
- PKCE support HOT 4
- Error: self signed certificate in certificate chain
- Cross-Domain still an issue
- kcLogin no longer working since Chrome 94? HOT 8
- How do I get otp_secret and otp_credential_id?
- mock session-iframe instead of changing the frontend for runtime HOT 2
- Cannot read properties of undefined (reading 'replace')
- cy.kcFakeLogin is not a function HOT 2
- Cannot read properties of undefined (reading 'action') HOT 4
- Give the possibility to do not add a file for the user but specify it in the env variables HOT 1
- fakeLogin is not working with cypress 12 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cypress-keycloak-commands.