DirectoryTree / LdapRecord-Laravel

Multi-domain LDAP Authentication & Management for Laravel.
https://ldaprecord.com/docs/laravel/v3
MIT License
509 stars 54 forks source link

[Feature] Laravel Sanctum Documentation #463

Closed stevebauman closed 2 years ago

stevebauman commented 2 years ago

Several users have been implementing LdapRecord-Laravel with Laravel Sanctum. Some first party docs for this would be very useful.

stevebauman commented 2 years ago

Added 🎉

https://ldaprecord.com/docs/laravel/v2/auth/database/laravel-sanctum

bradsi commented 2 years ago

Nice addition!

I hope you don't mind the suggestion... I'd love to see a section on SPA authentication. This is something I've struggled with for the past few days. I don't think there was anything I needed to do with LdapRecord specifically to get it integrated with Sanctum, but it would be nice to have a small section on the docs explaining that. Future readers might think they must authenticate with API tokens if that's all they see on the LdapRecord docs.

stevebauman commented 2 years ago

Thanks @bradsi! I also appreciate the suggestion ❤️ , I agree! let me add this into the docs and I'll close this issue out once it's been added 👍

stevebauman commented 2 years ago

All set! Let me know if you think they could be improved at all, or if anything is unclear. Always open to feedback! 🙏

bradsi commented 2 years ago

Looks good! Thanks for getting these docs sorted, really great work on this package!