For bug reporting only! If you're posting a feature request or discussion, please ignore.
Expected Behavior
The documentation should mention that, as of Laravel 10, passwords are hashed using casts by default.
You need to disable this in order for tokens to be saved and used.
If you do not do this, the Shopify token is hashed and become unusable.
/**
* The attributes that should be cast.
*
* @var array<string, string>
*/
protected $casts = [
'email_verified_at' => 'datetime',
//'password' => 'hashed',
];
Current Behavior
If you try to use the API offline you will see:
"{"errors":"[API] Invalid API key or access token (unrecognized login or wrong password)"}
Steps to Reproduce
Fresh install of laravel (10) + kyon147/laravel-shopify
For bug reporting only! If you're posting a feature request or discussion, please ignore.
Expected Behavior
The documentation should mention that, as of Laravel 10, passwords are hashed using casts by default. You need to disable this in order for tokens to be saved and used. If you do not do this, the Shopify token is hashed and become unusable.
Current Behavior
If you try to use the API offline you will see:
"{"errors":"[API] Invalid API key or access token (unrecognized login or wrong password)"}
Steps to Reproduce
Context