Closed dpakach closed 4 years ago
can you try with firefox? copy the requests since logging in as HAR and upload them somewhere?
AFAICT this is a configuration issue with ocis-reva. Can you double check the defaults for the oidc flags:
--oidc-issuer value OIDC issuer (default: "https://localhost:9130") [$REVA_OIDC_ISSUER]
--oidc-insecure OIDC allow insecure communication (default: true) [$REVA_OIDC_INSECURE]
--oidc-id-claim value OIDC id claim (default: "sub") [$REVA_OIDC_ID_CLAIM]
What version of ocis-reva are you using? Are any REVA_* environment variables configured? What does the ocis-reva auth-bearer log have to say about the invalid credentials?
The problem was with reva not getting the REVA_OIDC_ISSUER value. By default it used localhost:9130
but in our case we need to override that to 172.17.0.1:9130
Getting CORS error when trying to run phoenix with ocis and konnectd from different host.
Steps to reproduce
phoenix and devldap
PHOENIX_WEB_CONFIG=config.json ocis/bin/ocis phoenix & ocis/bin/ocis devldap & \
LDAP_BASEDN="ou=TestUsers,dc=owncloud,dc=com" LDAP_BINDDN="cn=admin,dc=owncloud,dc=com" LDAP_URI=ldap://localhost:389 ocis-konnectd/bin/ocis-konnectd server --iss https://172.17.0.1:9130
--ignore-certificate-errors
flag172.17.0.1:9100
on chrome to run phoenix and try to loginExpected result.
The authentication works fine and we are redirected to phoenix.
Actual result
we get this error on phoenix
On the js Console we get this error
Actual request Details
Request Headers