Questions tagged [fosoauthserverbundle]
124 questions
0
votes
1 answer
FOSOauthServerBundle how to make signed call
I have set up FOSOauthServerBundle, I have my api and access token
For now when I call /api?access_token=.... all I see is login page.
My security.yml:
security:
firewalls:
main:
pattern: ^/
…

dwilda
- 83
- 2
- 12
0
votes
2 answers
FOSOAuthServerBundle - How to get User in a controller
I implemented FOSOAuthServerBundle in my application to provide an API for mobile application. It seems to work, the user gets the Token and also the RefreshToken but if I make the controller require the user object that always returns null. Also…

Angelo Giuffredi
- 923
- 3
- 13
- 26
-1
votes
1 answer
Symfony 2.8 > 3.4.22 - Your requirements could not be resolved to an installable set of packages
I'm searching about this error on Stack Overflow but I don't find anything about it.
Recently I updated Symfony 2.8 to 3.4.22 and now I have to update some bundles with composer, 3 of 21 bundles have problems when I try to upgrade them.
These…

D. Duran
- 35
- 8
-1
votes
1 answer
Argument 1 passed to x must be an instance of y, string given,
I try to execute a post request, but it shows me this error Argument 1 passed to x::addPhoto() must be an instance of y, string given, this argument in my case is the current authenticated user, i use this code to have it:
$user=…

anony
- 185
- 2
- 14