Published
December 26, 2022
Demonstration
- Advanced Log-in & Sign-up Flow - Demo
- Advanced Log-in & Sign-up Flow - Cloneable
- advanced-login-flow library - SA5
Tutorial
- Quick start
- Features overview
- Configuration
- Scenarios
Setup & Configuration
Configuration for the webflow-membership-routing library is all contained in the site-wide <head> custom code area;
<br>import { WfuMembershipRouting } from 'https://cdn.jsdelivr.net/gh/sygnaltech/webflow-util@3.361/src/modules/webflow-membership-routing.js';<br>new WfuMembershipRouting({<br> routeAfterLogin: "/u/home",<br> routeAfterFirstLogin: "/u/new"<br>}).routeUser();<br> Settings
- Set routeAfterLogin to any valid site path you want users to go at login.
- > Useful for a members-only homepage
- > You can use "." as a setting to return them to the page they initiated the login from.
- Set routeAfterFirstLogin to any valid site path you want users to go at first log-in.
- > Useful for introducing the site, resource, and new membership features.
Limitations
- Currently, there is no ability to login-redirect on the basis of access groups.
Resources
- Redirect on login discussion - Sygnal-U
