Token authentication
The app authenticates users with a JWT-style token issued by the plugin (BMA_Token_Auth). The token:
- Is signed with the
bma_token_secretoption (a 64-character random string generated on activation) - Encodes the WordPress user ID and expiry
- Is sent as a Bearer token in the
Authorizationheader on all authenticated app requests - Expires after a configurable period; the app refreshes it automatically before expiry
Token secret rotation
If you need to invalidate all active sessions (e.g. after a security incident), regenerate the token secret:Social login
The plugin (BMA_Social_Auth) supports OAuth-based social login. Supported providers depend on the OAuth plugin installed on your site. The app shows social login buttons on the sign-in screen when providers are configured.
Common setups:
- BuddyBoss with an OAuth/SSO plugin (e.g. WP OAuth Server, YM OAuth)
- Any provider that issues WordPress user accounts via standard OAuth 2.0 / OpenID Connect
Access control
BMA_Access_Control enforces which users can access the app and its content. It integrates with WordPress user roles and BuddyBoss membership levels.
Membership gating
Content can be gated behind membership levels. The app enforces the same access rules as your web site:- BuddyBoss membership levels are respected automatically
- Paid Memberships Pro, MemberPress, and Restrict Content Pro levels are surfaced via the app’s paywall screen when a user attempts to access gated content

