Trouble with Account Linking (Actions on Google) -
i've implemented implicit flow authorization , followed directions on docs account linking, when redirect url google, get:
'accounts failed link. please close browser , try again'
my authorization url is: https://m-auth.herokuapp.com/dialog/authorize?client_id=abc123&redirect_uri=https://oauth-redirect.googleusercontent.com/r/trans-f4514&response_type=token&state=state
and redirect after authorization through app, is: https://oauth-redirect.googleusercontent.com/r/trans-f4514#access_token=3c642a215cd0a2e8c8f00eb03535a6304aaf5739&token_type=bearer&state=state
when test on playground get:
is correct req/response should getting?
i getting "start test failed" when try test app on simulator.
could problem user directed login screen?
any clue why running these problems? thanks!
===========================================================================
update: changed state parameter in uri state_string , stopped saying linking failed, not saying successful either:
does mean successful if above message?
you misconfigured redirect url.
currently user redirected url: https://developers.google.com/oauthplayground&access_token=token&token_type=bearer&state=null
google oauth required format like: https://developers.google.com/oauthplayground/#access_token=token&token_type=bearer&expires_in=3600
you can test oauth endpoint oauth playground configuration. after granting access application should see oauth playground again step 2 being activated. can review token retrieved activating "step 1's resultaccess token retrieved".
Comments
Post a Comment