-
Notifications
You must be signed in to change notification settings - Fork 67
facebook login #366
Comments
Hey! The BluePic web app doesn't support MCA right now, only Facebook login. So the docs you referenced don't apply here. The problem is that MCA doesn't have a javascript client and there's an issue open for that already. You are right about needing to add your deployed App URL to the "Valid OAuth redirect URIs" list. |
That what I meant Facebook login , I meant Mobile Access Client. I enable Facebook login for the app and web site but as I said I had to use the app url not the URL that is said to in the Doc's. It works so I can Facebook login via BluePics mobile app and web site. But when setting up the login if you follow the docs it said to put the call back url in Facebook to the Sorry if I was not clear |
Are you referring to the MCA docs? Can you please link here the docs you're referring to? |
Ok, thanks. Those docs don't apply to the BluePic web app, only the iOS app, since the web app doesn't support MCA. I assume you installed BluePic from the readme in github: https://github.com/IBM-Swift/BluePic ? We will need to update those instructions to clarify the Facebook app configuration. Thanks for bringing this up. |
Hi Im not sure this is the right place or if I should add a ticket to Bluemix.
Ok I used the Bluemix Cloud Tools apps to create and launch BluePic I then went to enable Facebook login. No issue with mobile app I then went to add Facebook Login for the Web Site and this is were I had a issue.
So using the Mobile Client Access service you are given a OAuth URL callback URL
e.g.:
https://mobileclientaccess.ng.bluemix.net/oauth/v2/******/Facebook/callback
Now That is the URL I should put into the faecbook developer "Valid OAuth redirect URIs" setting.
Now when doing that I was not able to login I had to change "Valid OAuth redirect URIs" to be my deployed App url e.g:
https://bluepic003.mybluemix.net
Now reading the doc's in the service and from setting it up before I'm sure the "Valid OAuth redirect URIs" should be the one above but not my Apps URL.
Any way I kept getting a Facebook login error on the web site until I removed the MCA callback URL and put my app url in the Facebook Developer "Valid OAuth redirect URIs" setting
So if this is the wrong place to put this let me know I'll rase a support ticket on Bluemix to have the Doc's updated.
The text was updated successfully, but these errors were encountered: