WidgetsUpdated Nov 1, 2026MinistryPlatform
User Login
A MinistryPlatform OAuth login button for your church website. Shows the signed-in MP user's name and photo, or a "Sign In" button if they're not authenticated.
Live preview
Supported providers
- MinistryPlatform: uses MP OAuth. Church must have MinistryPlatform configured in Dashboard → Settings → Church database.
Embed
<fs-user-login></fs-user-login>
Optional attributes
| Attribute | Description |
|---|---|
user-urls | HTML links to add to the signed-in menu. Each <a href="https://…">Label</a> becomes a menu item. Only http and https links are used. |
<fs-user-login user-urls='<a href="https://mychurch.org/my-groups">My Groups</a>'></fs-user-login>
What it does
- Sign in with MinistryPlatform: redirects the user through MP OAuth flow.
- Signed-in state: displays user's name, nickname, and profile photo from MP.
- Sign out: clears the session and reverts to "Sign In" state.
- Session persistence: tokens stored in sessionStorage; session lasts until the tab is closed.
- Works with stock MinistryPlatform widgets: sign-in is shared both ways with the stock MP widgets on the same site, and so is sign-out.
Requirements
- Church must have MinistryPlatform configured in Dashboard → Settings → Church database
- Add allowed origins in Dashboard → Settings → Allowed origins
- Embed the Firesky script before using the widget
Use case
Add to your church website's header or navigation to let visitors sign in with their MinistryPlatform credentials. Useful for gating access to member-only content or personalizing the site experience.