You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I´m using 7.x-1.8 version because the server php version is 5.3.3.
I tried to create a plugin with token authentication and i detected that only check resource access if some call to getAccount method.
Per example, I add an 'access callback' to check user_access, then token work perfectly because I need call getAccount, but if I not check any permission (i only require authenticated user), the resource it´s accesible although the acces_token is not sended in the request
It´s a bug or i have incorrectly configured the plugin?
Hi!
I´m using 7.x-1.8 version because the server php version is 5.3.3.
I tried to create a plugin with token authentication and i detected that only check resource access if some call to getAccount method.
Per example, I add an 'access callback' to check user_access, then token work perfectly because I need call getAccount, but if I not check any permission (i only require authenticated user), the resource it´s accesible although the acces_token is not sended in the request
It´s a bug or i have incorrectly configured the plugin?
$plugin = array( 'label' => t('Empresa'), 'resource' => 'empresa', 'name' => 'empresa__1_0', 'description' => '', 'class' => 'Empresa__1_0', 'authentication_types' => array( 'token', ), 'authentication_optional' => FALSE, 'major_version' => 1, 'minor_version' => 0, );
Thank you!
The text was updated successfully, but these errors were encountered: