mparaz
14 years agoNew Contributor
Testing Facebook Authentication - redirection breaks
Hi,
I'm trying out Facebook authentication using OAuth 2.0.
The original URL which you can open in your browser is:
https://www.facebook.com/dialog/oauth?c ... type=token
After granting access to my application (which does nothing), you should be redirected to the app page, like:
https://s3.amazonaws.com/mparaz_content ... es_in=5768
Where the access_token is provided for the app to use.
Now I need to test this in soapUI.
The output in the HTML pane is correct:
Token=153997194655450%7C2.9nFORSVy9mGc0c4ib61_xw__.3600.1304989200.1-666397291%7CAMApxxqTnoXKniVwF8_wyWjvTGg&expires_in=5768
But mysteriously, the XML and Raw panes show the HTML for the Facebook login page that is used to authenticate you, and not the app page.
The http log does not show the app page, either.
What happened to the other records of what happened during the redirects?
Thanks!
Miguel
I'm trying out Facebook authentication using OAuth 2.0.
The original URL which you can open in your browser is:
https://www.facebook.com/dialog/oauth?c ... type=token
After granting access to my application (which does nothing), you should be redirected to the app page, like:
https://s3.amazonaws.com/mparaz_content ... es_in=5768
Where the access_token is provided for the app to use.
Now I need to test this in soapUI.
The output in the HTML pane is correct:
Token=153997194655450%7C2.9nFORSVy9mGc0c4ib61_xw__.3600.1304989200.1-666397291%7CAMApxxqTnoXKniVwF8_wyWjvTGg&expires_in=5768
But mysteriously, the XML and Raw panes show the HTML for the Facebook login page that is used to authenticate you, and not the app page.
The http log does not show the app page, either.
What happened to the other records of what happened during the redirects?
Thanks!
Miguel