What exactly is OAuth (Open Authorization)?

后端 未结 9 1951
深忆病人
深忆病人 2020-12-02 03:22

What exactly is OAuth (Open Authorization)?

I have gleaned some information from

  • OAuth
  • Twitter Tutorial: What is OAuth And What It Means To Y
9条回答
  •  星月不相逢
    2020-12-02 04:13

    Simply put OAuth is a way for applications to gain credentials to your information without directly getting your user login information to some website. For example if you write an application on your own website and want it to use data from a user's facebook account, you can use OAuth to get a token via a callback url and then use that token to make calls to the facebook API to get their use data until the token expires. Websites rely on it because it allows programmers to access their data without the user having to directly disclose their information and spread their credentials around online but still provide a level of protection to the data. Will it become the de facto method of authorization? Perhaps, it's been gaining a lot of support recently from Twitter, Facebook, and the likes where other programmers want to build applications around user data.

提交回复
热议问题