Tags: laravel/sanctum
Tags
Fixes inconsistency in Sanctum::currentApplicationUrlWithPort() and S… …anctum::currentRequestHost() (#565) * Fix on #564, making sure both Sanctum::currentApplicationUrlWithPort() and Sanctum::currentRequestHost() work in a similar way by prepending the url or placeholder with a comma. * Fixing styling issues.
Feature to treat same domain requests to be from frontend and make st… …ateful (#564) * Introducing the ability to dynamically include the request http host as a domain to be included in the stateful domain list. * fixying styling issues * fixying styling issues * Refactoring to introduce a fixed token for Sanctum::currentRequestHost * Fixing styling issue * Update sanctum.php * Update Sanctum.php --------- Co-authored-by: Taylor Otwell <[email protected]>
Supports Laravel 12 (#556) * wip Signed-off-by: Mior Muhammad Zaki <[email protected]> * wip Signed-off-by: Mior Muhammad Zaki <[email protected]> --------- Signed-off-by: Mior Muhammad Zaki <[email protected]>
Add leading slash to @template tag in HasTokens (#550) Psalm on my project got confused when it was taken away, reporting: ``` ERROR: UndefinedClass - app/Models/User.php:31:7 - Class, interface or enum named Laravel\Sanctum\Laravel\Sanctum\Contracts\HasAbilities does not exist (see https://psalm.dev/019) class User extends Authenticatable ``` essentially doubling up the namespace.
PreviousNext