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've been trying ot get cypress-keycloak-commands running both with kcFakeLogin and kcLogin (have not had any success with either).
Trying to do a real login with kcLogin results in the following error:
TypeError: Failed to construct 'URL': Invalid URL
at Object.getAuthCodeFromLocation (http://localhost:3000/__cypress/tests?p=cypress/support/index.js:327:15)
digging into the code, it's expecting to receive a response.headers["location"] from keycloak. However that does not exist in the response I get from my keycloak instance:
I've been trying ot get cypress-keycloak-commands running both with kcFakeLogin and kcLogin (have not had any success with either).
Trying to do a real login with kcLogin results in the following error:
digging into the code, it's expecting to receive a
response.headers["location"]
from keycloak. However that does not exist in the response I get from my keycloak instance:screenshot:
![Screen Shot 2020-09-25 at 17 16 22](https://user-images.githubusercontent.com/6841110/94320545-d8ec7e00-ff52-11ea-8447-306b0fe0c02c.png)
my initConfig:
my
users/user.json
fixture:I'm not sure why it's trying to read a location header or what that's for?
if I hardcode it to use
http://localhost:3000
as the location it gets past this part just fine, but I then get a different 400 error:I normally pass a secret to keycloak, but that doesn't seem to be an option with this module?
The text was updated successfully, but these errors were encountered: