Keycloak with Spring boot with F5 on https not working

HI, We are using keycloak with Spring boot and configured F5 load balancer with Https. keycloak with Spring boot is on http, when we try to access keycloak from F5 with https url, its stuck at admin console screen. When tried setting adminUrl/frontendUrl , login screen appears but after login it again stuck at main page with error https://mydomain/essence/feaa/auth/admin/serverinfo/
status :401
Request Headers:
Accept: application/json, text/plain, /

Accept-Encoding: gzip, deflate, br

Accept-Language: en-US,en;q=0.9

Authorization: Bearer undefined

Connection: keep-alive

Content-Type: application/json

Not sure why the bearer token is undefined as login is successful. Please help to resolve