I have installed Kong Enterprise 2.7 in AWS EKS. I have used Basic Auth for kong gateway and portal login. When I use Chrome browser to login with super admin user in kong manager, Submit button shows progress with just “Submitting”. I can see below error in chrome console:
Failed to load resource: the server responded with a status of 401 (Unauthorized)
So I used Firefox and I am able to login Kong Manager. Is there any issue with chrome browser?
Now, I used Firefox for dev portal but unable to login. I don’t see any errors in console as well as in Network section of Firefox browser inspect. Please see below images:
FYI, I am using baisc auth for portal as well. I also used only http for Kong manager and portal. Please see below helm configuration details from my values.yaml file.
portal_session_conf secret created for file:
{"cookie_name":"portal_session","cookie_samesite":"off","secret":"kong","cookie_secure":false,"storage":"kong"}
admin_gui_session_conf:
{"cookie_name":"admin_session","cookie_samesite":"off","secret":"kong","cookie_secure":false,"storage":"kong"}
kubectl create secret generic kong-session-config -n kong --from-file=admin_gui_session_conf --from-file=portal_session_conf
Then used as below in values.yaml:
env:
portal_auth: basic-auth
portal_auth_conf: '{"hide_credentials": true}'
portal_session_conf:
valueFrom:
secretKeyRef:
name: kong-session-config
key: portal_session_conf
I suspect this is cookie issue but not sure. Please assist how can I fix this login issue to developer portal
There is no suitable information in any Kong documentation about this error and also not getting proper response from Kong support team. Please assist on this.