Auth Setup
Here are the authentication setup details required to ensure proper authentication functionality on the frontend.
⚙️ Auth User Permission for User Role
-
From Strapi dashboard Go to Settings → Roles (under USERS & PERMISSIONS PLUGIN).
-
Now to add permission for
candidate
role, click the oncandidate
from the list.Then click on
Users-permissions
, this will open all the API lists.Now give
candidate
permission for the API's.- AUTH
- PERMISSIONS
- ROLE
- USER
-
Now to add permission for
employer
role, click the onemployer
from the list.Then click on
Users-permissions
, this will open all the API lists.Now give
employer
permission for the API's.- AUTH
- PERMISSIONS
- ROLE
- USER
⚙️ Auth Provider Setup
-
From Strapi dashboard Go to Settings → Providers (under USERS & PERMISSIONS PLUGIN).
-
Here
email
provider is selected by default. So keep it as it is. -
To enable
google
provider, open it.And provide the relevant keys (use your own key at the placeholder), and save it.
-
To enable
facebook
provider, open you can follow same as google provider by opening 'facebook` provider option.