Module a-login provides the default login page

Configuration

The render order of the authentication providers can be set freely through the backend config configuration of module a-login

a-login/backend/src/config/config.js

// providers
config.providers = [
  {
    module: 'a-authsimple',
    provider: 'authsimple',
  },
  {
    module: 'a-authgithub',
    provider: 'authgithub',
  },
];
Name Description
providers array of authentication providers
module moudle name of provider
provider provider name

Render at Frontend

Module a-login provides the default login page, which path is /a/login/login

The login page will automatically obtain the combination of authentication providers configured in the backend and complete the page rendering

You can also develop your own login page, and then set it in mobile layout or pc layout. For details, please refer to adaptive layout