OAuth services don't work


#1

Hello.
I’m trying to setup oauth user authorization using DF’s ouath services feature.
I’ve setup my facebook oauth service filling client_id, secret, and redirect url as
http://my_domain/api/v2/user/session?oauth_callback=true&service=facebook
where “facebook” is the name of the service.

When i’m trying to log in using this service, I fall into infinite redirect loop between my DF instance and facebook untill browser gives up with ERR_TOO_MANY_REDIRECTS error (Chrome).
Looking into the code I’ve found out that DF expects that the callback URL will be called via POST request, but in fact it gets requested via GET.

Any ideas how to make it work?

I’ve also tried this in DF cloud - the result is the same.


Facebook OAuth issue
#2

If you’re using the built in login form, try http://my_domain/dreamfactory/dist/index.html?service=facebook as the redirect URL


#3

Hello.
Yes, that worked!
Thank you.


#4

link not open please can you post the code