How should I use webclient for oauth 2.0?How is OAuth 2 different from OAuth 1?On a high level, how does OAuth 2 work?What is the purpose of the implicit grant authorization type in OAuth 2?How do I use OAuth 2.0 just for authentication for Google?Salesforce OAuth 2.0 User-Agent Flow: INVALID_SESSION_IDLaravel: API with OAuth 2.0Vimeo integration to ios oauth 2.0How to test an API endpoint with Django-rest-framework using Django-oauth-toolkit for authenticationSecurity Issue Related to OAuth FlowJhipster OAuth 2.0 / OIDC Authentication Authorization header with bearer token

Is balancing necessary on a full-wheel change?

How to get SEEK accessing converted ID via view

How to scale a verbatim environment on a minipage?

Can fracking help reduce CO2?

Why is Thanos so tough at the beginning of "Avengers: Endgame"?

When do aircrafts become solarcrafts?

How to assert on pagereference where the endpoint of pagereference is predefined

When and why did journal article titles become descriptive, rather than creatively allusive?

How to reply this mail from potential PhD professor?

How does NAND gate work? (Very basic question)

Is lying to get "gardening leave" fraud?

How do I tell my manager that his code review comment is wrong?

Can a cyclic Amine form an Amide?

Field Length Validation for Desktop Application which has maximum 1000 characters

Is it always OK to ask for a copy of the lecturer's slides?

Power LED from 3.3V Power Pin without Resistor

Survey Confirmation - Emphasize the question or the answer?

Meaning of "individuandum"

How did Arya manage to disguise herself?

Why is this a valid proof for the harmonic series?

Write to EXCEL from SQL DB using VBA script

If an enemy is just below a 10-foot-high ceiling, are they in melee range of a creature on the ground?

What is the limiting factor for a CAN bus to exceed 1Mbps bandwidth?

Is it the same airport YUL and YMQ in Canada?



How should I use webclient for oauth 2.0?


How is OAuth 2 different from OAuth 1?On a high level, how does OAuth 2 work?What is the purpose of the implicit grant authorization type in OAuth 2?How do I use OAuth 2.0 just for authentication for Google?Salesforce OAuth 2.0 User-Agent Flow: INVALID_SESSION_IDLaravel: API with OAuth 2.0Vimeo integration to ios oauth 2.0How to test an API endpoint with Django-rest-framework using Django-oauth-toolkit for authenticationSecurity Issue Related to OAuth FlowJhipster OAuth 2.0 / OIDC Authentication Authorization header with bearer token






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I handled a lot of API from many exchanges.



I want the API to work without user intervention.



Usually, I wrote codes like this



Dim timestamp = getEstimatedServerTimeStamp().ToString
Dim domain = "https://api.kucoin.com"
Dim endpoint = "/api/v1/" + method
Dim stringtosign = timestamp + "GET" + endpoint '1553106384182GET/api/v1/accounts
'Dim secretandpassphrase = _secret1.Split("|"c)
'Dim secret = secretandpassphrase(0) 'a7c38ae4-b6e3-4254-b78c-*******
'Dim passphrase = secretandpassphrase(1) '7Q5eVqOw*******

Dim hasher = New System.Security.Cryptography.HMACSHA256(System.Text.Encoding.UTF8.GetBytes(_secret1))
Dim sighashbyte = hasher.ComputeHash(System.Text.Encoding.UTF8.GetBytes(stringtosign))
Dim sighash = System.Convert.ToBase64String(sighashbyte)
Dim url = domain + endpoint 'url https://api.kucoin.com/api/v1/accounts
Dim response = CookieAwareWebClient.downloadString1(url, "", Tuple.Create("KC-API-SIGN", sighash), Tuple.Create("KC-API-TIMESTAMP", timestamp), Tuple.Create("KC-API-KEY", _apiKey1), Tuple.Create("KC-API-PASSPHRASE", _passphrase1))

Return response


So I am using the secret and the API key.



However, at Sstex, something is different.



First, they told me to register a client and a redirect URL. What does redirect URL mean?



I tried



going to https://apidocs.stex.com/#/Profile/get_profile_wallets



to try some demo.



It turns out I can see my wallet content without using my API key and secret at all. Instead of API key and secret I authorize here



https://apidocs.stex.com/#/Profile/get_profile_wallets



Then I can see my balances.



So I tried some similar code after looking on the web



I did



 If token = "" Then
Dim token1 = CookieAwareWebClient.downloadString1("https://app.stex.com/oauth/authorize?client_id=1**&client_secret=3vmEisPCGekF1JGePkwdSKdf4Q00lJTKmwxh****")

End If


Instead of json I am getting an html.



So I wonder.



What exactly I should do with OAuth? Is it designed for something different than regular API access?



The manual says I should curl things like



curl -X GET "https://api3.stex.com/profile/wallets?sort=DESC&sortBy=BALANCE" -H "accept: application/json" -H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjY1NzUyODQwYmMzMmMwNGU0MTExNmRmYjQ0M2I5NWY4NzAzYmVkYWIyNTk0ZWZhMTg3ZjhhMmQxOThiNzM1NGRkNThjZmYzYWJkZWEzZjg5In0.eyJhdWQiOiIxNDIiLCJqdGkiOiI2NTc1Mjg0MGJjMzJjMDRlNDExMTZkZmI0NDNiOTVmODcwM2JlZGFiMjU5NGVmYTE4N2Y4YTJkMTk4YjczNTRkZDU4Y2ZmM2FiZGVhM2Y4OSIsImlhdCI6MTU1MzI4NTc4NiwibmJmIjoxNTUzMjg1Nzg2LCJleHAiOjE1NTMzMjg5ODYsInN1YiI6IjMxOTgwMSIsInNjb3BlcyI6WyJwcm9maWxlIiwicmVwb3J0cyIsInRyYWRlIl19.aRuu1gmUmpcck_rMh9fcQwfDeJezn0tD0v1aSJ7joIhtsIXAdaw0H-SFOXwzo_HevFrcDnWGrZ4s9sTd1_vgRS2or7HyiV54c0ItVym6bOMKnFhGuxWWLubXN9HstjiM9TSghk7FtF5J0XeIDcY4vp25ycBmWM6Dddeyu4ehu3hurG-jUyT9N1C4u5KwqkYazeE1Z6XpCUrH77tAIlecTssPUzDtM6j-dYJOirYLx-E7fTn6H_bpHq_mosiHEy7IGe2uyggx0UIg4YIIX0noATxNfFiqZlXc32u8NywS7bDkFJ8e4s2r6vbL9pZU7Qe81IFrhs2jgUrQyjxe4SKsyolA9SulwF1haqsRGYTN_fNZyNm7u_Nzs2-RWxZw7h5KHT48AI483bHqJS3qfpjNF7FdpEufnn1QuFplumvyATtlEf56RCTfZ11fWjaET_b19P_3KpJw8H3pYSh8f-7MdIJcn68X1ls_9GahKKlX059I2M_6S2XkjwvnETlhiWGIdpttg2rJ1oHsEiNUuYzj7d1MBKGhSMX4y8OpB9hhW6CjgajG-YVk3SU6JWaVBEY_1w49Q6U-KxD4nzMK5I85Cn1C1iDPExuOwuyRRH1XSxsXLQ9tURsLOytlp7LkUNvzxb5lxZ18ho-OkvkWVkS18oSxR5y__WllywD_6_NT64s"


So I should get a bearer token. How do I get it with say, curl?



I want standard web query such as using curl. I want to avoid unfamiliar library like some specialized oauth library.



I am making an app. I am not making a website. Should I even use oauth2?



I read about oauth2 here



https://aaronparecki.com/oauth-2-simplified/#roles



It says that "users" will see some website and they can "authorize".



Look. The user is me. I got the API key, secret, client id, client secret. I don't want "users" to be shown anything. I approve all this stuff.



Stex says that they will abandon their version 2 API and will use version 3API. They said that version 3 API uses Oauth.



Is oauth even suitable for an app that run unattended?










share|improve this question






























    0















    I handled a lot of API from many exchanges.



    I want the API to work without user intervention.



    Usually, I wrote codes like this



    Dim timestamp = getEstimatedServerTimeStamp().ToString
    Dim domain = "https://api.kucoin.com"
    Dim endpoint = "/api/v1/" + method
    Dim stringtosign = timestamp + "GET" + endpoint '1553106384182GET/api/v1/accounts
    'Dim secretandpassphrase = _secret1.Split("|"c)
    'Dim secret = secretandpassphrase(0) 'a7c38ae4-b6e3-4254-b78c-*******
    'Dim passphrase = secretandpassphrase(1) '7Q5eVqOw*******

    Dim hasher = New System.Security.Cryptography.HMACSHA256(System.Text.Encoding.UTF8.GetBytes(_secret1))
    Dim sighashbyte = hasher.ComputeHash(System.Text.Encoding.UTF8.GetBytes(stringtosign))
    Dim sighash = System.Convert.ToBase64String(sighashbyte)
    Dim url = domain + endpoint 'url https://api.kucoin.com/api/v1/accounts
    Dim response = CookieAwareWebClient.downloadString1(url, "", Tuple.Create("KC-API-SIGN", sighash), Tuple.Create("KC-API-TIMESTAMP", timestamp), Tuple.Create("KC-API-KEY", _apiKey1), Tuple.Create("KC-API-PASSPHRASE", _passphrase1))

    Return response


    So I am using the secret and the API key.



    However, at Sstex, something is different.



    First, they told me to register a client and a redirect URL. What does redirect URL mean?



    I tried



    going to https://apidocs.stex.com/#/Profile/get_profile_wallets



    to try some demo.



    It turns out I can see my wallet content without using my API key and secret at all. Instead of API key and secret I authorize here



    https://apidocs.stex.com/#/Profile/get_profile_wallets



    Then I can see my balances.



    So I tried some similar code after looking on the web



    I did



     If token = "" Then
    Dim token1 = CookieAwareWebClient.downloadString1("https://app.stex.com/oauth/authorize?client_id=1**&client_secret=3vmEisPCGekF1JGePkwdSKdf4Q00lJTKmwxh****")

    End If


    Instead of json I am getting an html.



    So I wonder.



    What exactly I should do with OAuth? Is it designed for something different than regular API access?



    The manual says I should curl things like



    curl -X GET "https://api3.stex.com/profile/wallets?sort=DESC&sortBy=BALANCE" -H "accept: application/json" -H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjY1NzUyODQwYmMzMmMwNGU0MTExNmRmYjQ0M2I5NWY4NzAzYmVkYWIyNTk0ZWZhMTg3ZjhhMmQxOThiNzM1NGRkNThjZmYzYWJkZWEzZjg5In0.eyJhdWQiOiIxNDIiLCJqdGkiOiI2NTc1Mjg0MGJjMzJjMDRlNDExMTZkZmI0NDNiOTVmODcwM2JlZGFiMjU5NGVmYTE4N2Y4YTJkMTk4YjczNTRkZDU4Y2ZmM2FiZGVhM2Y4OSIsImlhdCI6MTU1MzI4NTc4NiwibmJmIjoxNTUzMjg1Nzg2LCJleHAiOjE1NTMzMjg5ODYsInN1YiI6IjMxOTgwMSIsInNjb3BlcyI6WyJwcm9maWxlIiwicmVwb3J0cyIsInRyYWRlIl19.aRuu1gmUmpcck_rMh9fcQwfDeJezn0tD0v1aSJ7joIhtsIXAdaw0H-SFOXwzo_HevFrcDnWGrZ4s9sTd1_vgRS2or7HyiV54c0ItVym6bOMKnFhGuxWWLubXN9HstjiM9TSghk7FtF5J0XeIDcY4vp25ycBmWM6Dddeyu4ehu3hurG-jUyT9N1C4u5KwqkYazeE1Z6XpCUrH77tAIlecTssPUzDtM6j-dYJOirYLx-E7fTn6H_bpHq_mosiHEy7IGe2uyggx0UIg4YIIX0noATxNfFiqZlXc32u8NywS7bDkFJ8e4s2r6vbL9pZU7Qe81IFrhs2jgUrQyjxe4SKsyolA9SulwF1haqsRGYTN_fNZyNm7u_Nzs2-RWxZw7h5KHT48AI483bHqJS3qfpjNF7FdpEufnn1QuFplumvyATtlEf56RCTfZ11fWjaET_b19P_3KpJw8H3pYSh8f-7MdIJcn68X1ls_9GahKKlX059I2M_6S2XkjwvnETlhiWGIdpttg2rJ1oHsEiNUuYzj7d1MBKGhSMX4y8OpB9hhW6CjgajG-YVk3SU6JWaVBEY_1w49Q6U-KxD4nzMK5I85Cn1C1iDPExuOwuyRRH1XSxsXLQ9tURsLOytlp7LkUNvzxb5lxZ18ho-OkvkWVkS18oSxR5y__WllywD_6_NT64s"


    So I should get a bearer token. How do I get it with say, curl?



    I want standard web query such as using curl. I want to avoid unfamiliar library like some specialized oauth library.



    I am making an app. I am not making a website. Should I even use oauth2?



    I read about oauth2 here



    https://aaronparecki.com/oauth-2-simplified/#roles



    It says that "users" will see some website and they can "authorize".



    Look. The user is me. I got the API key, secret, client id, client secret. I don't want "users" to be shown anything. I approve all this stuff.



    Stex says that they will abandon their version 2 API and will use version 3API. They said that version 3 API uses Oauth.



    Is oauth even suitable for an app that run unattended?










    share|improve this question


























      0












      0








      0








      I handled a lot of API from many exchanges.



      I want the API to work without user intervention.



      Usually, I wrote codes like this



      Dim timestamp = getEstimatedServerTimeStamp().ToString
      Dim domain = "https://api.kucoin.com"
      Dim endpoint = "/api/v1/" + method
      Dim stringtosign = timestamp + "GET" + endpoint '1553106384182GET/api/v1/accounts
      'Dim secretandpassphrase = _secret1.Split("|"c)
      'Dim secret = secretandpassphrase(0) 'a7c38ae4-b6e3-4254-b78c-*******
      'Dim passphrase = secretandpassphrase(1) '7Q5eVqOw*******

      Dim hasher = New System.Security.Cryptography.HMACSHA256(System.Text.Encoding.UTF8.GetBytes(_secret1))
      Dim sighashbyte = hasher.ComputeHash(System.Text.Encoding.UTF8.GetBytes(stringtosign))
      Dim sighash = System.Convert.ToBase64String(sighashbyte)
      Dim url = domain + endpoint 'url https://api.kucoin.com/api/v1/accounts
      Dim response = CookieAwareWebClient.downloadString1(url, "", Tuple.Create("KC-API-SIGN", sighash), Tuple.Create("KC-API-TIMESTAMP", timestamp), Tuple.Create("KC-API-KEY", _apiKey1), Tuple.Create("KC-API-PASSPHRASE", _passphrase1))

      Return response


      So I am using the secret and the API key.



      However, at Sstex, something is different.



      First, they told me to register a client and a redirect URL. What does redirect URL mean?



      I tried



      going to https://apidocs.stex.com/#/Profile/get_profile_wallets



      to try some demo.



      It turns out I can see my wallet content without using my API key and secret at all. Instead of API key and secret I authorize here



      https://apidocs.stex.com/#/Profile/get_profile_wallets



      Then I can see my balances.



      So I tried some similar code after looking on the web



      I did



       If token = "" Then
      Dim token1 = CookieAwareWebClient.downloadString1("https://app.stex.com/oauth/authorize?client_id=1**&client_secret=3vmEisPCGekF1JGePkwdSKdf4Q00lJTKmwxh****")

      End If


      Instead of json I am getting an html.



      So I wonder.



      What exactly I should do with OAuth? Is it designed for something different than regular API access?



      The manual says I should curl things like



      curl -X GET "https://api3.stex.com/profile/wallets?sort=DESC&sortBy=BALANCE" -H "accept: application/json" -H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjY1NzUyODQwYmMzMmMwNGU0MTExNmRmYjQ0M2I5NWY4NzAzYmVkYWIyNTk0ZWZhMTg3ZjhhMmQxOThiNzM1NGRkNThjZmYzYWJkZWEzZjg5In0.eyJhdWQiOiIxNDIiLCJqdGkiOiI2NTc1Mjg0MGJjMzJjMDRlNDExMTZkZmI0NDNiOTVmODcwM2JlZGFiMjU5NGVmYTE4N2Y4YTJkMTk4YjczNTRkZDU4Y2ZmM2FiZGVhM2Y4OSIsImlhdCI6MTU1MzI4NTc4NiwibmJmIjoxNTUzMjg1Nzg2LCJleHAiOjE1NTMzMjg5ODYsInN1YiI6IjMxOTgwMSIsInNjb3BlcyI6WyJwcm9maWxlIiwicmVwb3J0cyIsInRyYWRlIl19.aRuu1gmUmpcck_rMh9fcQwfDeJezn0tD0v1aSJ7joIhtsIXAdaw0H-SFOXwzo_HevFrcDnWGrZ4s9sTd1_vgRS2or7HyiV54c0ItVym6bOMKnFhGuxWWLubXN9HstjiM9TSghk7FtF5J0XeIDcY4vp25ycBmWM6Dddeyu4ehu3hurG-jUyT9N1C4u5KwqkYazeE1Z6XpCUrH77tAIlecTssPUzDtM6j-dYJOirYLx-E7fTn6H_bpHq_mosiHEy7IGe2uyggx0UIg4YIIX0noATxNfFiqZlXc32u8NywS7bDkFJ8e4s2r6vbL9pZU7Qe81IFrhs2jgUrQyjxe4SKsyolA9SulwF1haqsRGYTN_fNZyNm7u_Nzs2-RWxZw7h5KHT48AI483bHqJS3qfpjNF7FdpEufnn1QuFplumvyATtlEf56RCTfZ11fWjaET_b19P_3KpJw8H3pYSh8f-7MdIJcn68X1ls_9GahKKlX059I2M_6S2XkjwvnETlhiWGIdpttg2rJ1oHsEiNUuYzj7d1MBKGhSMX4y8OpB9hhW6CjgajG-YVk3SU6JWaVBEY_1w49Q6U-KxD4nzMK5I85Cn1C1iDPExuOwuyRRH1XSxsXLQ9tURsLOytlp7LkUNvzxb5lxZ18ho-OkvkWVkS18oSxR5y__WllywD_6_NT64s"


      So I should get a bearer token. How do I get it with say, curl?



      I want standard web query such as using curl. I want to avoid unfamiliar library like some specialized oauth library.



      I am making an app. I am not making a website. Should I even use oauth2?



      I read about oauth2 here



      https://aaronparecki.com/oauth-2-simplified/#roles



      It says that "users" will see some website and they can "authorize".



      Look. The user is me. I got the API key, secret, client id, client secret. I don't want "users" to be shown anything. I approve all this stuff.



      Stex says that they will abandon their version 2 API and will use version 3API. They said that version 3 API uses Oauth.



      Is oauth even suitable for an app that run unattended?










      share|improve this question
















      I handled a lot of API from many exchanges.



      I want the API to work without user intervention.



      Usually, I wrote codes like this



      Dim timestamp = getEstimatedServerTimeStamp().ToString
      Dim domain = "https://api.kucoin.com"
      Dim endpoint = "/api/v1/" + method
      Dim stringtosign = timestamp + "GET" + endpoint '1553106384182GET/api/v1/accounts
      'Dim secretandpassphrase = _secret1.Split("|"c)
      'Dim secret = secretandpassphrase(0) 'a7c38ae4-b6e3-4254-b78c-*******
      'Dim passphrase = secretandpassphrase(1) '7Q5eVqOw*******

      Dim hasher = New System.Security.Cryptography.HMACSHA256(System.Text.Encoding.UTF8.GetBytes(_secret1))
      Dim sighashbyte = hasher.ComputeHash(System.Text.Encoding.UTF8.GetBytes(stringtosign))
      Dim sighash = System.Convert.ToBase64String(sighashbyte)
      Dim url = domain + endpoint 'url https://api.kucoin.com/api/v1/accounts
      Dim response = CookieAwareWebClient.downloadString1(url, "", Tuple.Create("KC-API-SIGN", sighash), Tuple.Create("KC-API-TIMESTAMP", timestamp), Tuple.Create("KC-API-KEY", _apiKey1), Tuple.Create("KC-API-PASSPHRASE", _passphrase1))

      Return response


      So I am using the secret and the API key.



      However, at Sstex, something is different.



      First, they told me to register a client and a redirect URL. What does redirect URL mean?



      I tried



      going to https://apidocs.stex.com/#/Profile/get_profile_wallets



      to try some demo.



      It turns out I can see my wallet content without using my API key and secret at all. Instead of API key and secret I authorize here



      https://apidocs.stex.com/#/Profile/get_profile_wallets



      Then I can see my balances.



      So I tried some similar code after looking on the web



      I did



       If token = "" Then
      Dim token1 = CookieAwareWebClient.downloadString1("https://app.stex.com/oauth/authorize?client_id=1**&client_secret=3vmEisPCGekF1JGePkwdSKdf4Q00lJTKmwxh****")

      End If


      Instead of json I am getting an html.



      So I wonder.



      What exactly I should do with OAuth? Is it designed for something different than regular API access?



      The manual says I should curl things like



      curl -X GET "https://api3.stex.com/profile/wallets?sort=DESC&sortBy=BALANCE" -H "accept: application/json" -H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjY1NzUyODQwYmMzMmMwNGU0MTExNmRmYjQ0M2I5NWY4NzAzYmVkYWIyNTk0ZWZhMTg3ZjhhMmQxOThiNzM1NGRkNThjZmYzYWJkZWEzZjg5In0.eyJhdWQiOiIxNDIiLCJqdGkiOiI2NTc1Mjg0MGJjMzJjMDRlNDExMTZkZmI0NDNiOTVmODcwM2JlZGFiMjU5NGVmYTE4N2Y4YTJkMTk4YjczNTRkZDU4Y2ZmM2FiZGVhM2Y4OSIsImlhdCI6MTU1MzI4NTc4NiwibmJmIjoxNTUzMjg1Nzg2LCJleHAiOjE1NTMzMjg5ODYsInN1YiI6IjMxOTgwMSIsInNjb3BlcyI6WyJwcm9maWxlIiwicmVwb3J0cyIsInRyYWRlIl19.aRuu1gmUmpcck_rMh9fcQwfDeJezn0tD0v1aSJ7joIhtsIXAdaw0H-SFOXwzo_HevFrcDnWGrZ4s9sTd1_vgRS2or7HyiV54c0ItVym6bOMKnFhGuxWWLubXN9HstjiM9TSghk7FtF5J0XeIDcY4vp25ycBmWM6Dddeyu4ehu3hurG-jUyT9N1C4u5KwqkYazeE1Z6XpCUrH77tAIlecTssPUzDtM6j-dYJOirYLx-E7fTn6H_bpHq_mosiHEy7IGe2uyggx0UIg4YIIX0noATxNfFiqZlXc32u8NywS7bDkFJ8e4s2r6vbL9pZU7Qe81IFrhs2jgUrQyjxe4SKsyolA9SulwF1haqsRGYTN_fNZyNm7u_Nzs2-RWxZw7h5KHT48AI483bHqJS3qfpjNF7FdpEufnn1QuFplumvyATtlEf56RCTfZ11fWjaET_b19P_3KpJw8H3pYSh8f-7MdIJcn68X1ls_9GahKKlX059I2M_6S2XkjwvnETlhiWGIdpttg2rJ1oHsEiNUuYzj7d1MBKGhSMX4y8OpB9hhW6CjgajG-YVk3SU6JWaVBEY_1w49Q6U-KxD4nzMK5I85Cn1C1iDPExuOwuyRRH1XSxsXLQ9tURsLOytlp7LkUNvzxb5lxZ18ho-OkvkWVkS18oSxR5y__WllywD_6_NT64s"


      So I should get a bearer token. How do I get it with say, curl?



      I want standard web query such as using curl. I want to avoid unfamiliar library like some specialized oauth library.



      I am making an app. I am not making a website. Should I even use oauth2?



      I read about oauth2 here



      https://aaronparecki.com/oauth-2-simplified/#roles



      It says that "users" will see some website and they can "authorize".



      Look. The user is me. I got the API key, secret, client id, client secret. I don't want "users" to be shown anything. I approve all this stuff.



      Stex says that they will abandon their version 2 API and will use version 3API. They said that version 3 API uses Oauth.



      Is oauth even suitable for an app that run unattended?







      oauth-2.0






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 22 at 20:59







      user4951

















      asked Mar 22 at 20:18









      user4951user4951

      14.1k42149251




      14.1k42149251






















          0






          active

          oldest

          votes












          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55307242%2fhow-should-i-use-webclient-for-oauth-2-0%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55307242%2fhow-should-i-use-webclient-for-oauth-2-0%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript