Open peirix opened 6 months ago
comment out the callback url, you're welcome...
How to reproduction this bug ? Can you show me an example?
Make sure that the response type from the issuer is correct
Example I have one keycloak service that is returning response_type: "code",
but i set it to response_type: "id_token token",
that couse the login loop
I've got this setup:
The vue-page
mine-rom
is set up to use the same auth middleware in your playground folder.When I go to login, I'm sent back to
/mine-rom
with params:?redirect=/mine-rom&code=fae65820-9bb2-48be-b02d-0ce4a1749022
And then it triggers the auth middleware and for some reason it detects I'm not logged in, so it sends me back to the login with this redirect url:http://localhost:3000/mine-rom?redirect=/mine-rom?redirect=/mine-rom&code=fae65820-9bb2-48be-b02d-0ce4a1749022
and if I login from that it just keeps adding redirect params to the url.In my localstorage I see a key
oidc._user
which is just set to{}
, and in my cookies I see theoidc._sessionid
has a hashed value.