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
Hi at all,
i create a api with help of your bundles and all things worked fine.
But if i try to send the access_token via header i get always a 401 "access_denied". If i send the access_token via url (api/user/self?access_token=....) all worked fine. What's the problem?
The log file say: security.INFO: Authentication exception occurred; redirecting to authentication entry point (A Token was not found in the SecurityContext.) [] []
But why??
Thanks for your help,
Marcel
The text was updated successfully, but these errors were encountered:
RewriteEngine On
RewriteCond %{HTTP:Authorization} ^(.)
RewriteRule . - [e=HTTP_AUTHORIZATION:%1]
And i write "authorization", not "Authorization". Now all things worked for me.
Before i do this, the Request Header in the profiler show always "Basic Ym9zY236Ym9zY28=", not i can find "Bearer YTg5NT......"
My request was:"https://*_.de/app_dev.php/api/user/self" and in the header was "Authorization:" "Bearer YTg5NTNhNDQ3Z_". But in the symphony profile was only "Basic Ym9zY236Ym9zY28=". Was this your question?
Hi at all,
i create a api with help of your bundles and all things worked fine.
But if i try to send the access_token via header i get always a 401 "access_denied". If i send the access_token via url (api/user/self?access_token=....) all worked fine. What's the problem?
I read all site like this one https://groups.google.com/forum/#!topic/symfony2/28LvLvZPpx0, but nothing worked for me.
The log file say: security.INFO: Authentication exception occurred; redirecting to authentication entry point (A Token was not found in the SecurityContext.) [] []
But why??
Thanks for your help,
Marcel
The text was updated successfully, but these errors were encountered: