4

I am a developer a large social network.

Does the protocol OAuth without browser? I plan to write desktop and mobile applications that can not use your browser to get access_token. It worries me step for get Access_token, I can not understand how to implement it.

Give examples of code if possible ...

Shaliko
  • 201
  • 4
  • 10

1 Answers1

2

No, at least using the common OAuth flow (also called 3-legged).

You need to open a browser so the user can grant your app access to the protected resources.

You could use the 2-legged OAuth variation, but it's poorly documented and supported.

Pablo Fernandez
  • 103,170
  • 56
  • 192
  • 232