Skip to main content
Version: 4.x

Force Login

Requires the Force Login plugin (or a similar plugin that restricts REST API access to authenticated users only).

How third-party integrations work

What it does

The Force Login plugin redirects unauthenticated users away from your site and can lock down the REST API. Enabling this integration exempts all Simple JWT Login endpoints from that restriction.

This is necessary because unauthenticated clients need to reach the login, register, and token endpoints in order to authenticate in the first place - they cannot provide a WordPress session cookie before they have logged in.

Enable

Toggle Enable Force Login integration to allow unauthenticated access to Simple JWT Login REST routes even when Force Login is active.

caution

This integration only bypasses the Force Login restriction for Simple JWT Login's own endpoints. All other WordPress REST endpoints remain subject to the Force Login rules.