Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problems with oAuth2 Authentication

User can not authenticate my app, it always comes the message that the response_type is missing. But the response_type is not missing.
We already tried it with the tutorial, here comes the same error.

Need help. What could be the problem?

Best Answer
0 Votes
1 REPLY 1

Hello -

 

I'll give you what is successful for us, minus my actual client ID and callback:

 

          https://www.fitbit.com/oauth2/authorize?response_type=code&client_id=

          NNNNNN&scope=profile%20settings%20activity&prompt=login%20cons

          ent&redirect_uri=https%3A%2F%2Fwww.somesite.com%2Ffitbitcallback

          .ashx&state=10

 

Some things we make sure to do to make this navigation successful:

 

Make sure we're starting a query string with '?' without an ampersand immediately following it.  Put the response_type name/value pair first.  Encode the entire URL (no spaces, no slashes, no colons, etc. ... just codes for where those things should be).

 

Good luck!

 

Jay

Best Answer
0 Votes