You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 13, 2024. It is now read-only.
FormioAuthProvider - This allows you to register the authentication login pages and provide the authenticated and anonymous states.
.config(function(FormioAuthProvider) {
// Set the base url for formio.
FormioAuthProvider.setStates('auth.login', 'home');
FormioAuthProvider.setForceAuth(true);
FormioAuthProvider.register('userLogin', 'user', 'user/login');
FormioAuthProvider.register('customerLogin', 'customer', 'customer/login');
```
FormioAuth - You need to run the init() method in order to initialize all of the authentications.
.run(function(FormioAuth) {
// Initialize the Form.io authentication provider.
FormioAuth.init();
```