Guides
How to Setup Auth Settings

Auth Setup

Here are the authentication setup details required to ensure proper authentication functionality on the frontend.

⚙️ Auth User Permission for User Role

  1. From Strapi dashboard Go to Settings → Roles (under USERS & PERMISSIONS PLUGIN).

    Hello
  2. Now to add permission for candidate role, click the on candidate from the list.

    Hello

    Then click on Users-permissions, this will open all the API lists.

    Hello

    Now give candidate permission for the API's.

    • AUTH
    • PERMISSIONS
    • ROLE
    • USER
  3. Now to add permission for employer role, click the on employer from the list.

    Hello

    Then click on Users-permissions, this will open all the API lists.

    Hello

    Now give employer permission for the API's.

    • AUTH
    • PERMISSIONS
    • ROLE
    • USER

⚙️ Auth Provider Setup

  1. From Strapi dashboard Go to Settings → Providers (under USERS & PERMISSIONS PLUGIN).

    Hello
  2. Here email provider is selected by default. So keep it as it is.

    Hello
  3. To enable google provider, open it.

    Hello

    And provide the relevant keys (use your own key at the placeholder), and save it.

    Hello
  4. To enable facebook provider, open you can follow same as google provider by opening 'facebook` provider option.