bootoffav / laravel-b24-auth
Bitrix24 laravel Oauth middleware
Installs: 55
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/bootoffav/laravel-b24-auth
Requires
- ext-curl: *
This package is not auto-updated.
Last update: 2025-10-26 02:09:39 UTC
README
This is middleware for lavarel that ensures the user has bitrix24 authorization token with every request he/she sends to application.
#Installation step1 You need to provide hostname, client and secret within your .env file. B24_HOSTNAME=https://[yourhostname].bitrix24.ru B24_CLIENT_ID= B24_CLIENT_SECRET=
step 2 Add Middleware to your app/Http/Kernel.php at middlewareGroups array for 'web' \bootoffav\laravel\B24\Auth::class
#Usage
B24 credentials are stored at session, and accessible through either $request object or global session() helper function