FriendsOfSymfony / FOSOAuthServerBundle

A server side OAuth2 Bundle for Symfony
1.09k stars 452 forks source link

Implicit grant does not work #256

Open quentin-decre opened 10 years ago

quentin-decre commented 10 years ago

Implicit grant (grant_type = "token") does not seem to work. With the same client, I have been able to retreive a token using client_credentials.

Postam request

I have browsed the code, and especially the grantAccessToken function of OAuth2.php. I have seen to problems:

  1. Secret is always checked, whatever grant_type you use
  2. In the switch on $input["grant_type"]), GRANT_TYPE_IMPLICIT does not seem to be supported.

Any idea ?

inverse commented 10 years ago

bump - I'm in the same situation. Any update?

Padam87 commented 10 years ago

+1

Spomky commented 9 years ago

The problem is that this library does not support public clients. See #266 or #282

hpatoio commented 9 years ago

I also cannot figure out how use the implicit grant. Looking at the code it doesn't seems to be implemented. Anyone succeeded ?

adadgio commented 7 years ago

Is someone working on this issue ? It is still well a problem...