FOSOAuthServer login loop

11 views
Skip to first unread message

Pete Burkindine

unread,
Feb 16, 2017, 2:29:43 PM2/16/17
to FriendsOfSymfony Developer
Hello,

I am having trouble configuring FOSOAuthServer.  I started over and set up a fresh Symf 3 app and configured and tested forms authentication with default entity user provider.

I set up FOSOAuth according to the documentation (I think...) and used the same routes and provider.

The problem is that the login page just loops.  I am trying to access the oauth/v2/auth endpoint, and get redirected to my login page, but when i input my credentials (test/test), it just goes back to the login page.

What could I be missing?

Here is my security.yml:

And my SecurityController:

And my routing.yml:

I set up the four OAuth entities directly from the documentation and persisted them to the DB.  I created the client id according to the instructions.

Please help!

Pete
Reply all
Reply to author
Forward
0 new messages