Keycloak: Action expired. Please continue with login now / Your login attempt timed out
The user stayed on a Keycloak page longer than the login session lifespan, or the session cookie was lost.
Exact message you may see
Action expired. Please continue with login nowYour login attempt timed outKeycloak action expiredRestart login cookie not found
Seen on:
Keycloak
Meaning
Each login attempt has a time limit (default about 30 minutes). Pages opened from a stale tab or a browser that blocked the AUTH_SESSION_ID cookie show this message.
Common causes
- Login page left open too long
- Browser blocks the session cookie (SameSite, third-party)
- Several tabs started different logins
- Reverse proxy not forwarding cookies/headers
⚡ Quick fix
- Start the login again from the application
- Increase "Login timeout" in Realm settings → Sessions
- Configure the proxy headers (
X-Forwarded-*)
Detailed fix by platform
Keycloak
- Realm settings → Sessions → Login timeout / Login action timeout
How to diagnose
- Time — How long was the page open?
- Cookie — AUTH_SESSION_ID set?
- Proxy — Headers forwarded?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Most viewed in Authentication
- disallowed_useragent Google OAuth: Error 403: disallowed_useragent (sign-in from an embedded WebView)
- Access blocked: has not completed the Google verification process Google OAuth: Error 403: access_denied — The developer hasn't given you access to this app / has not completed the Google verification process
- Missing Authentication Token {"message":"Missing Authentication Token"} / No authorization token was found
Other ways to find it
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Did this fix work for you?
Report a correction or suggest an improvement
Last updated 2 Dec 2026