Note: login will not work in the app preview due to browser security restrictions. Please test on a device.
The login settings allow you to add a login button to your app menu, which enables app users to log in our out of WordPress.
You can hide/show menu items when users are logged in to protect certain app pages, and integrate with a membership plugin to hide/show content in WordPress.
To enable this feature, visit your app dashboard, then click Login Settings. Check the box and add your site url, then save.
Use with SSL only, it is not secure to use this login feature without https.
Next, visit the app customizer and rebuild your app. You should now see a login button in the side menu, that opens a modal to login.
If you don't see the button after rebuilding your app, try clearing your browser cache and refresh.
What does this login do?
It logs in or out any user to your WordPress site via ajax. When a user is logged in, they will see their avatar in the side menu, and they can visit your WordPress pages as a logged in user.
Hide or Show Menu Items
You can hide menu items until a user logs in, please see this article for details.
Links to open Login Modal
Click here to add a login button in the app or from WordPress.
Use a Menu Item to open the Login Menu
Click here to add a login menu item.
If you are having trouble, please see this troubleshooting article.