Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple authentication - Different Auth methods for Admin and Users #320

Open
Sudheert7 opened this issue Aug 29, 2023 · 0 comments
Open

Comments

@Sudheert7
Copy link

Thank you for templates and tutorials.

Request to create tutorial on integrating with LDAP

LDAP Authentication using ldaprecord, https://ldaprecord.com/docs/laravel/v2
Online LDAP test server : https://www.forumsys.com/2022/05/10/online-ldap-test-server/

Use case: Role based Authentication, only default admin ([email protected]) will login from local database, other users are authenticated from LDAP.

Roles : User Roles are created locally by admin, same role names are created in LDAP or mapped in using LDAP Group (Group membership) .

User Authenticated by LDAP, User Group membership from LDAP checked against roles in application (in database)
User management page is available to Admin only,

when User successfully authenticated by LDAP, user name, role and token synchronized to local database, Users can see page based on role Eg. Products (or Appointments)

Thank You
Sudheer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant