Authentication
Modules for registration and login of users.
Authentication modules provide registration and login functionality for users of your applications.
Basic functions for managing users, groups, registration, and authorization are provided by the default Auth module. It also adds a standard registration form to your applications.
In order to expand the functionality, in particular the ability to enter and register through social networks, use additional modules.
Sign-up SettingsThe Auth module manages all registration settings. If registration is disabled, then social sign-in modules will also not be able to register new users.
Basic module for authorization and registration
Auth module provides authentication and authorization for your application, including user management, group management, user registration, login, and related functions. It is installed automatically when the project is created. By default, the module's middleware is attached to every endpoint and grants access to any user group. Detailed access controls can be configured by adjusting the middleware settings in every endpoint.
Default User Login & PasswordLogin: [email protected]
Password: appmaster
Sign-in with Google
Implements sign in and log in with Google
Sign in with Google is a standalone module for implementing Google sign-in and log-in features for your application.
Business processes
- Register
Used if you are configuring authorization and authentication yourself. If you use the basic functionality of the Auth module, then for Sign-in with Google to work, you only need to specify the Client ID in the settings.
Module Settings
Parameter | Default | Description |
Client ID | empty | Your application client ID from Google Console. |
To get Client ID - use Google Cloud Console. The setup instructions can be read at this link.
Sign-in with Facebook
Registering and logging in with your Facebook account.
Sign in with Facebook is a standalone module for implementing Facebook sign-in and log-in features for your application.
Business processes
- Register
Used if you are configuring authorization and authentication yourself. If you use the basic functionality of the Auth module, then for Sign-in with Facebook to work, you only need to specify the Application ID in the settings.
Parameter | Default | Description |
Application ID | empty | Your application client ID from Facebook Dev Portal. |
To get Client ID:
- Get a Facebook developer account.
- Create a Facebook App with basic settings.
Then add the Facebook Login product to your app, enable the Facebook JavaScript SDK, and add your app URL to the allowed domains.
Sign-in with LinkedIn
Registering and logging in with a LinkedIn account.
Sign in with LinkedIn is a standalone module for implementing LinkedIn sign-in and log-in features for your application.
- Register
Used if you are configuring authorization and authentication yourself. If you use the basic functionality of the Auth module, then for Sign-in with LinkedIn to work, you only need to specify the Client ID, Redirect URL, and Secret Key in the settings.
Parameter | Default | Description |
Client ID | none | Your application client ID from LinkedIn Developer Portal. |
Redirect URL | none | URL to redirect after authentication |
Secret Key | none | Secret key of your LinkedIn Application |
To get the parameters necessary to configure the module, you need to register as a LinkedIn developer and create an application with basic settings.
Sign-in with Apple
Register and sign in with Apple ID.
Sign in with Apple is a standalone module for implementing Apple ID sign-in and log-in features for your application.
- Register
Used if you are configuring authorization and authentication yourself. If you use the basic functionality of the Auth module, then for Sign-in with Apple to work, you only need to specify the Client ID in the settings.
Parameter | Default | Description |
Client ID | empty | Your application client ID from Apple Developer. |
You need Apple ID and developer account to get Client ID. Apple ID can be created here. Visit this page to register as Apple developer.
Google OAuth 2.0
The module provides SSO with Google to your web and mobile apps
Google OAuth 2.0: Get Access Token
Input
- refresh_token (string)
- client_id (string)
- client_secret (string)
Output
- access_token
Google OAuth 2.0: Get Auth URL
Input
- client_id (string)
- redirect_url (string)
- scopers (array string)
Output
- url (string)
Google OAuth 2.0: Get Refresh Token
Input
- auth_code (string)
- client_id (string)
- client_secret (string)
- redirect_url (string)
Output
- refresh_token (string)
- access_token (string)