Capacitor iOS WKWebView: “Remember Me” / Persistent Login (Avoid 7-Day Forced Re-Login)

I’m building an iOS/iPadOS app with Capacitor that loads a Base44-hosted web app inside WKWebView. Authentication uses base44.auth (User.me(), User.loginWithRedirect()).

Right now Base44 JWT sessions have a fixed 7-day lifetime. After ~7 days, User.me() fails and users are forced back to the Base44 login screen. For a daily habit app (devotional/journaling), weekly forced re-auth seriously hurts retention and user trust (“did I lose my account/journal?”), even though data is safe.

Feature request: Please add persistent login options suitable for mobile-wrapped apps, such as:

  1. Configurable session/JWT TTL per app (e.g., 30/90/180 days)

  2. Refresh token / silent renewal so clients can rotate JWTs before expiry without user action

  3. Sliding sessions (extend expiration on activity)

  4. A true “Remember me” mode (persistent cookie/session) that allows seamless re-auth in WKWebView

Acceptance criteria:

  • A signed-in user can go 30+ days without being forced to re-enter credentials.

  • If the JWT expires, the system can renew it silently (or the login page can “continue” without retyping).

  • Works reliably in Capacitor iOS WKWebView.

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board
💡

Feature Request

Date

2 months ago

Author

Joe Mudie

Subscribe to post

Get notified by email when there are changes.