Skip to main content

Questions tagged [authentication]

A question about the Stack Exchange authentication process and related API methods.

Filter by
Sorted by
Tagged with
0 votes
0 answers
35 views

I’ve built a tool that allows programmatically posting answers to Stack Overflow using the StackExchange API. 🛠 What it does: Uses the /answers/add method to post HTML-formatted answers under ...
ARPIT PATEL's user avatar
8 votes
1 answer
1k views

Registering your application or script gets you a higher daily quota and is fairly simply; a step by step guide is documented here: I only need a key, what do I do? However, what if I do want an ...
Glorfindel's user avatar
  • 6,965
2 votes
1 answer
208 views

I want to add an comment to a specific post so, how do I get its ID and how do I authorize it. I want it to done through the Stack Exchange API interface.
Mohammed Noman Razvi's user avatar
1 vote
1 answer
186 views

Let's say I have an app called ExampleApp, with these details: Client ID: 12345 Key: ThisIsTheKey123() OAuth Domain: exampleapp.com [√] Enable Client Side OAuth flow [√] Disable ...
Lakshya Raj's user avatar
1 vote
1 answer
79 views

In the docs on user auth, it says This request is responded to with either an error (HTTP status code 400) or an access token of the form access_token=...&expires=1234. expires will only be set ...
Lakshya Raj's user avatar
0 votes
1 answer
61 views

For example, let's say client X signs into an app that I made. My servers get an access_token which I can then use to send requests on their behalf, for example reading their reputation history. By ...
Lakshya Raj's user avatar
1 vote
1 answer
268 views

I want to build a bridge for my matrix server. To read my inbox an access_token is required. Do I really need to register an application just to get one access token?
Ace of Spade's user avatar
2 votes
1 answer
498 views

I was just reading into this API and wanted to test it out before I would use it in a project. I have added an application on this site and got all of the keys. When I try to authenticate a user with ...
Chiel's user avatar
  • 85
6 votes
1 answer
177 views

Registering your application as a Stack Apps app is necessary in order to obtain a higher request quota, authentication and write access to the API. What happens if the question is closed because of ...
Glorfindel's user avatar
  • 6,965
2 votes
0 answers
358 views

I am using the JavaScript SDK to authenticate Stack Exchange users in our application. But the dialog stays in "Authorizing Application" page, as I found there is a error thrown in this page:...
Gary Liu's user avatar
  • 121
31 votes
6 answers
2k views

We've started working on the next version of the Stack Exchange API. The current draft specification is available, and we'd like to hear your feedback! The headlining feature for this release is ...
1 vote
0 answers
191 views

I am trying to build an app but I can't get the authentication right. I have been following the steps here: https://api.stackexchange.com/docs/authentication I keep getting the below error no matter ...
sjago's user avatar
  • 21
5 votes
1 answer
2k views

I am using .NET 4 and trying to use the desktop authentication via the web-browser control (WPF and/or WinForms; StackApp NNTP bridge for accessing StackExchange forums (like StackOverflow)). It seems ...
Jochen Kalmbach's user avatar
-1 votes
1 answer
1k views

I am in need of using the Stack Overflow API for my website. I've gone through the documentation and I got the API key and client credentials. But my question is, I am able to send my question through ...
Deepak's user avatar
  • 121
15 votes
1 answer
2k views

I am trying to get a non-expiry access token, like so: https://stackexchange.com/oauth?scope=no_expiry&redirect_uri={{some_uri}}&client_id={{some_value}} I am repeatedly getting the error: ...
user34257's user avatar
  • 185
4 votes
1 answer
520 views

I'm trying to learn how to implement an OAuth flow in an Android app using a simple app with the Stack Exchange API. Using WebView, I'm able to retrieve an access token and store it in my shared ...
Marco Pierucci's user avatar
-3 votes
1 answer
1k views

I'm getting the following response body and header from https://stackoverflow.com/oauth/access_token when attempting to exchange an oauth code for a token: <DEBUG> [00:30:03] my-app - content-...
user84207's user avatar
  • 115
1 vote
1 answer
106 views

Can we get the list of data when clicking on a specific question and display the question detail page like the Stack Exchange app? I can't find the API to get them so far, so I decided to display the ...
user13414590's user avatar
3 votes
1 answer
298 views

I tried the answer at "Can the redirect_uri contain port number"? But I am getting the following error: Provided redirect_uri does not match the redirect_uri this code was created with My access ...
sylor_huang's user avatar
2 votes
1 answer
200 views

I am working on a Stack Exchange App (Stack App for Windows 10 PC/Mobile and Windows 8.1 Mobile). I have a user login set up and using the WebAuthenticationBroker in Universal Windows Platform, to ...
AVK's user avatar
  • 269
-4 votes
1 answer
166 views

I get code and access token but I cannot call API function My url being generated https://api.stackexchange.com/2.2/me?site=stackoverflow&access_token=lcynp67rMHfm%28DRLjv7CVQ%29%29&key=6521 {...
Numan Hassan's user avatar
8 votes
2 answers
592 views

I want to create a simple desktop application which connects to my account and shows some information in the status bar. I've been trying to authenticate using OAuth2.0 but I'm getting stuck and I ...
aalbagarcia's user avatar
1 vote
1 answer
660 views

I am new to oauth 2.0. What i am trying to achieve is following I have a google api based oauth authentication in place On top I fetch the gmail email address and verify if this address is present in ...
Arka Mallick's user avatar
6 votes
1 answer
9k views

I am trying to experiment with the Stack Overflow API on my localhost and am struggling to get the authentication to complete. Here is my application JavaScript code (note that I am using IBM ...
MDalt's user avatar
  • 161
1 vote
1 answer
729 views

Following the Stack Apps documentation Authentication (explicit) section I crafted this AJAX call $.ajax({ url:"https://stackexchange.com/oauth/access_token", type:"...
ajthinking's user avatar
9 votes
1 answer
913 views

I had a developer setup StackExchange auth for a site last year and that still works fine. I have cloned that site and am in the process of changing out all of the relevant names and keys to the new ...
Lizza's user avatar
  • 193
3 votes
1 answer
113 views

This is in regards to my userscript Bulk flag comments. I am sure I have not at all updated the userscript since the first release of June 24, and I am sure I was able to register for an access token ...
Gaurang Tandon's user avatar
1 vote
0 answers
274 views

I am trying to implement Stack Exchange using oAuth 2.0. I am able to get CODE but, when I try to get access_token through this code: <?php if(isset($_GET['code'])) { ?> <form method="...
Amit Parmar's user avatar
4 votes
1 answer
309 views

I am following The implicit OAuth 2.0 flow Guide: My client ID is 4709 while key is RoZwtHUrhMP088oVGCMlxA(( I appended my URL as: https://stackexchange.com/oauth/dialog?client_id=4709&scope=...
Zigii Wong's user avatar
1 vote
1 answer
2k views

I think my question is not a duplicate of this one: How to login programmatically I have read the authentication document but, still, I am unable to get what's needed to login programmatically on ...
Raynold's user avatar
  • 113
7 votes
1 answer
772 views

Background: I will be using the Stack Exchange API to make queries to stack overflow for a list of questions along with their details for a particular month etc for analysis purposes. So this would be ...
Viraj's user avatar
  • 173
4 votes
1 answer
198 views

So I'm able to use API calls like: https://api.stackexchange.com/2.2/questions?pagesize=30&order=desc&sort=activity&site=stackoverflow to display a list of questions. This is easy as it ...
noogui's user avatar
  • 165
2 votes
1 answer
116 views

The authentication docs state that the scopes parameter of the URL to which a user should be directed to, for implicit authentication, should be a list of scopes that are delimited by either commas or ...
ravindUwU's user avatar
  • 329
2 votes
1 answer
84 views

While learning how to work with the StackApps APIs, I created quite a few (more than 10) access_token with no_expiry scope. Finally I have got my applicaiton working but I am worried that all those ...
jar's user avatar
  • 123
18 votes
0 answers
137 views

When dealing with chat bots, especially those like SmokeDetector, you'll often want to log in directly from the code. The problem? There's no easy way to do this, especially now that Open ID is being ...
Mithical's user avatar
  • 339
1 vote
0 answers
79 views

The authentication doc page now lists URL's like: https://stackoverflow.com/oauth https://stackoverflow.com/oauth/access_token etc. While these seem to work, the correct domain is stackexchange.com, ...
Brock Adams's user avatar
1 vote
1 answer
6k views

I'm making an application in C# and I need to both search and post answers, so I need an access token. I found some information, libraries, and code pieces: The authentication guide for the Stack ...
hesam's user avatar
  • 31
7 votes
1 answer
287 views

desktop-stack-serv Auth server for desktop applications authenticating with the Stack Exchange API. What? The Stack Exchange API enables applications to get data about Stack Exchange sites or users....
ArtOfCode's user avatar
  • 483
3 votes
1 answer
130 views

I'm implementing an App and intend to use Stack Exchange tags to classify content, of course, respecting the terms of use. However, the Authentication documentation says I'd need to use the OAuth 2.0 ...
André Pena's user avatar
3 votes
1 answer
416 views

I tried to use the Stack Exchange API to authenticate the user. I have registered my app with redirect_uri as stackexchange.com/oauth/login_success. But it always throws "redirect_uri is not a valid ...
Kishorekumar E K's user avatar
5 votes
1 answer
147 views

For Stack Overflow Extras (SOX), a few users and myself have seen our access tokens being invalidated very often without any apparent reason. We aren't requesting new tokens (which would invalidate ...
ᔕᖺᘎᕊ's user avatar
  • 4,405
-4 votes
1 answer
175 views

I am trying to make a console based client, that consumes the stackexchange api. I have done the registration of my app, in order to enjoy higher quotas and received the necessary keys. My problem is,...
py_script's user avatar
4 votes
0 answers
73 views

When using https://stackoverflow.com/oauth/dialog, the OAuth dialog renders correctly on my normal browser window. Opening it inside a modal however results in an empty window, because body has a min-...
NikxDa's user avatar
  • 141
4 votes
1 answer
2k views

I am working on an desktop inbox notifier for StackOverflow, using the API with Python. The script I am working on first logs the user in on StackExchange, and then requests authorisation for the ...
neydroydrec's user avatar
4 votes
0 answers
192 views

I would like to use the API from a browser extension. With WebExtensions, I should be able to support Firefox and Chrome with the same code. Chrome provides an identity API for OAuth2, and so does ...
Bob's user avatar
  • 286
7 votes
1 answer
706 views

I have followed the documentation and used explicit OAuth 2.0 flow for access_token generation. And I have gone through all 4 steps defined under explicit OAuth 2.0 flow with scope=no_expiry. Then I ...
Sanjiv's user avatar
  • 325
0 votes
1 answer
177 views

I'm trying to connect a piece of desktop software to the Stack Exchange web service through OAuth2. I've read the docs but the problem is that what it talks about is subtly different to what ...
Mark Ireland's user avatar
3 votes
1 answer
400 views

TL;DR: Is it (or would it be) possible to get the same access_token from one fetch_token request to another, provided that the user is the same? Scenario: An anonymous user authenticates with Stack ...
Jivan's user avatar
  • 133
1 vote
1 answer
154 views

I'm writing a small Android app that issues customizable queries and displays the results in a read-only format. I might implement oauth-2 in a future version, but want to leave it out of version 1.0 (...
Rapunzel Van Winkle's user avatar
16 votes
1 answer
486 views

I think I may have stumbled upon a bug in the Stack Exchange JS API I'm having a problem getting its authentication to work properly, and I just discovered that the same problem exist in the official ...
Gabi Mor's user avatar
  • 301