Log in to your 23 Video website here...

Forum Developer community: Authorize 4 characters security code

Authorize 4 characters security code
Posted by Andreas Junizar on

Hi,

I have no idea where this 4 characters security code goes. Somehow I already read the docs, but it seems a dead end for me when you do /oauth/authorize?oauth_token={token} and stops at getting 4 security code.

I do not know where to go to put this. Any idea?

Thanks

Re: Authorize 4 characters security code
Posted by Steffen Tiedemann Christensen Team 23 on

Hi Andreas,

When you retrieve a request token (see step 1 in our OAuth guide) you can include an oauth_callback parameter. This specifies a URL controlled by you and to which the users is redirect after she has authorized your appplication. The redirect will include an oauth_verifier parameter, which you will use to get full access credentials (step 3 in our OAuth guide).

You may choose not to specify a oauth_callback or, more relevantly, your application may not have a URL to redirect back to (i.e. a desktop or a mobile app). In this case, the callback is designated out-of-band (or oauth_callback=oob) and there's not place to return an oauth_verifier. Instead the four-letter code is actually the verifier, which is designed to be copy-pasted back to your application -- which in turn with retrieve access tokens using the verifier.

So, two possible solutions to your issues:
- Either include oauth_callback=http://... in your request to http://api.visualplatform.net/oauth/request_token.
- Have a way for users to paste back the verified in your app.

Steffen

Hi, I'm Enrique. I'm 100% Human.

Me and my colleagues at 23 believe in 100% Human support. Yup, no autoresponders or 3 days response policy. The easiest way to get a feeling of our product is to schedule a demo with me below. If you want to reach me via phone, you can simply call me on +45 31-23-45-81 or Skype me via kikecuellar. Have a great day!

Request a demo with me