Questions tagged [fosoauthserverbundle]

124 questions
0
votes
1 answer

Mobile app and OAuth integration

We are currently working on a design for OAuth in out ecosystem. The idea, of course, that the mobile app will authenticate with OAuth server using user credentials grant type to get the token for further workflow. On the other hand, protected…
Shurik Agulyansky
  • 2,607
  • 2
  • 34
  • 76
0
votes
1 answer

FOSbundle + FOSOAuthServerBundle Firewall Configuration

I'm working on a Symfony 2.7 project that have both the Web login interface and OAuth autentication for API. I use FOSUserBundle for autentication provider and FOSOAuthServerBundle to provide the OAuth functionality. I'm following the guide linked…
0
votes
1 answer

Authenticate Symfony2 REST API with Google Account

I'm working with Symfony2 and FOSOauthServerBundle in a REST API. I would wish that some user could log in by a client app using their Google Account, for instance. From my REST server, by web, I can log in with my Google Account (using…
Gsanlab
  • 321
  • 3
  • 5
0
votes
1 answer

UserProvider not implementing correct interface

I am trying to use a custom UserProvider with the FOS User bundle package and the FOS Oauth package. I have been following this tutorial…
joshuahornby10
  • 4,222
  • 8
  • 36
  • 52
0
votes
1 answer

Login & authorization process for FOSAuthServerBundle

I am building api's for mobile app with symfony2. I have setup FOSAuthServerBundle & configure it correctly. http://blog.tankist.de/blog/2013/07/18/oauth2-explained-part-3-using-oauth2-with-your-bare-hands/ I am also able to generate a tokan with…
0
votes
1 answer

Symfony2 oauth2 server

I want to create a oauth2 server for my websites (3 websites, 1 login). I created the server, I used FOSUserBundle and FOSOAuthServerBundle, I followed the instructions. But I have 1 problem. I can create token through /oauth/v2/token this is…
0
votes
1 answer

FOSOAuthServerBundle - The child node "providers" at path "security" must be configured

I am trying to implement the FOSOAuthServerBundle. I need it in order to create a centralized authentication function that will be shared by some other projects. I followed the tutorial from here: Getting Started With FOSOAuthServerBundle But I have…
Milos Cuculovic
  • 19,631
  • 51
  • 159
  • 265
0
votes
2 answers

Symfony2 FOSOAuthServerBundle grant type password requires client secret

I'm integrating FOSOAuthServerBundle to handle login from a mobile app to a Symfony2 backoffice. I've followed the instructions of this answer, but as I've never used OAuth2 before I'm a bit lost sometimes. I tried logging in using the 'password'…
Jukurrpa
  • 4,038
  • 7
  • 43
  • 73
0
votes
1 answer

Whats the best / recommended way to authenticate users using rest in Symfony?

I am developing rest apis in symfony application. Right now my apis are used by my application only on frontend (ajax requests by Angularjs). In future I would like to expose same APIs to third party applications as well. Also I will be having…
vishal
  • 3,993
  • 14
  • 59
  • 102
0
votes
1 answer

How to restrict who can obtain a valid access token?

I've developed an APIRest service to consume data from a mobile app. I've used the Symfony2 bundles: FOSOAuthServerBundle, FOSUserBundle and FOSRestBundle and all work fine but I need to differenciate the admin panel users and the api users because…
0
votes
0 answers

FOSOAuthServerBundle requested a non-existent service

I have some trouble integrate the FOSOAuthServerBundle... When I try to access to oauth/v2/token or create a new client with a my controller I have this error : You have requested a non-existent service …
user3653664
  • 37
  • 10
0
votes
2 answers

How to protect the resources of a user in a REST API with FOSRestBundle and FOSOauthServerBundle?

I'm developing a RESTful web service in Symfony2 with FOSRest and FOSOauthServer bundles (... and many others). My problem is that with an access token of other user, the api gives response instead of a 403 status code. For example: I have two users…
xabi82
  • 111
  • 3
  • 9
0
votes
1 answer

Using Autorization header instead of access_token

Using rest client extensino when I try to execute: http://api.domain.com/app_dev.php/api/1.0/resource/get?id=1 Request Header: User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.137…
mghazal
  • 48
  • 7
0
votes
1 answer

Symfony2 - Using yml for FOSOAuthServerBundle

I am trying to create a web service using FOSOAuthServer bundle in symfony2. I am using yml configuration; so I create entity for AcccessToken like this: yml: My\ApiBundle\Entity\AccessToken: type: entity table: access_token id: …
aBhijit
  • 5,261
  • 10
  • 36
  • 56
0
votes
1 answer

Symfony 2 - FOSRestBundle - Call api method from another controller

I'm trying to call a method of my API but I get this exception : FatalErrorException: Error: Call to undefined method Project\Bundle\ApiBundle\Controller\UserController::userCreate()…
manonthemoon
  • 2,611
  • 8
  • 26
  • 40
1 2 3
8
9