Skip to main content

All Questions

Filter by
Sorted by
Tagged with
4 votes
0 answers
57 views

OAuth Dialog has all content positioned off-screen

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-...
15 votes
1 answer
2k views

Unable to get access token

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: ...
2 votes
1 answer
63 views

I have created a lot of access_token with no_expiry scope while experimenting. How do I delete them?

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 ...
-3 votes
1 answer
931 views

"text/plain" content type header for x-www-form-urlencoded content? [duplicate]

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-...
12 votes
2 answers
6k views

Can the redirect_uri contain port number?

Is it possible to have the redirect_uri contain a specific port? For example: example.com:8080 Assuming that example.com is my registered domain, is the 8080 allowed? I have tried to put it as part ...
3 votes
1 answer
104 views

Cannot get redirect_uri to work

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 ...
10 votes
1 answer
4k views

What exactly is a valid OAuth domain name for registering your app?

I'm starting to write a native Android client for Stack Overflow, and wondering what exactly is a valid OAuth domain name? Is it the package name of my app? Or do I have to point it to a server ...
1 vote
1 answer
626 views

oauth 2.0 based on stackexchange api and fetch user details

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 ...
4 votes
1 answer
566 views

Javascript SDK channelUrl for local development [duplicate]

I am trying to get started with the Javascript SDK. I am developing on a web server on my local machine. I get a channelUrl-related error when calling SE.init. My code: SE.init({ clientId: ...
4 votes
1 answer
361 views

Getting an API key for an application without a server

When I go to register my application, it asks me my OAUTH application URL. But I don't have an OAuth server and I just want to get the api-key without my server. How can I fill out the form required ...
4 votes
1 answer
158 views

How to use /me to display my profile data in StackExchange API?

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 ...
1 vote
0 answers
84 views

Stack Exchange Javascript SDK implicit OAuth2 bugs in `SE.authenticate`

I've tried to set up an implicit authorization workflow with JavaScript SDK version 2.0: <script type='text/javascript' src='https://api.stackexchange.com/js/2.0/all.js'></script> I was ...
4 votes
0 answers
164 views

Can we specify more than one OAuth Domain?

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 ...
4 votes
1 answer
2k views

API Implicit Authentication with Python

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 ...
2 votes
1 answer
108 views

Authentication uses # instead of `?`?

I need authentication for my app so I used the implicit flow way. The authentication works just fine but the access_token and expires variables return weirdly! For example: https://example.com/#...
1 vote
1 answer
693 views

No 'Access-Control-Allow-Origin' for oauth/access_token

Following the Stack Apps documentation Authentication (explicit) section I crafted this AJAX call $.ajax({ url:"https://stackexchange.com/oauth/access_token", type:"...
0 votes
1 answer
156 views

What token parameters to use for OAuth2 Authorizaton?

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 ...
5 votes
1 answer
119 views

Access token keeps being invalidated

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 ...
9 votes
1 answer
212 views

What to do with "OAuth Domain" in the registration page for a browser user script?

I want to register my first project so I can make more API calls without hitting the limit now that it seems to be good enough for others to use. My project is a browser userscript that works with ...
6 votes
1 answer
195 views

JavaScript SDK-based workflow never pushes message back from OAuth login_success page on Stack Exchange side

I'm using the JavaScript SDK by Stack Exchange provided with the latest API, and despite following the official instructions & examples it doesn't work - it seems there is a bug which breaks the ...
8 votes
2 answers
554 views

Getting unauthorized_error when using OAuth2.0

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 ...
3 votes
1 answer
391 views

iOS Client for stackoverflow always throws redirect_uri not a valid uri

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 ...
9 votes
1 answer
853 views

Getting "application not configured for implicit grants" error trying to setup website

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 ...
7 votes
0 answers
878 views

Stack Overflow app for Windows Phone 8.1 and Windows 8.1 and Android

About Windows Phone and Windows 8.1 don't have a Stack Overflow app and I would like to create one for both the platforms. Aim: To create an app that can be used to browse through the questions on ...
3 votes
1 answer
328 views

Same access token between different fetch_token requests

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 ...
0 votes
0 answers
71 views

OAuth domain with a custom port in a dev environment? [duplicate]

I have an app for which the OAuth domain is example.com However, the domain for dev environment is example.com:8000 When trying to authorize the website, Stack Exchange replies with an error ...
5 votes
1 answer
198 views

Is there a way to specify how long I want an access token to be valid for?

I am following the explicit authentication path. I am not passing no_expiry as part of the scope. After the final POST step, I receive back an expires value of 86399 (just shy of a full day). It ...
3 votes
0 answers
274 views

Login screen without web browser

I'm playing around with the Stack Exchange API, and have just received my first response from the server using the "Hello World" example. The next step is to allow the user to log in somehow. From ...
29 votes
0 answers
5k views

Overflow7 - Stack Exchange sites on Windows Phone 7

Video of 1.0 On YouTube - http://bit.ly/stackoverflowforwp7 About This is a Stack Overflow app for Windows Phone 7 - it allows you to browse, read and bookmark Stack Exchange sites Screenshot ...
-4 votes
1 answer
116 views

I Cannot Perform Oauth [closed]

My Clientn id = 4784 and Key = cB0l6XiaOW5l5vsBnBeIUg((. What do I do for Oauth and to get an access token?
4 votes
1 answer
338 views

Login using Google fails saying OpenID 2.0 accounts for Google has gone away

Recently I have received complaints about my app suggesting that logging in with a Google account shows a warning message that OpenID authentication has gone away. When I tried to log in with my own ...
11 votes
0 answers
521 views

Metro Stack - A Windows Phone Stack Exchange app

Screenshot I’m pleased to announce MetroStack: A Windows Phone 8.1 app to interact with any website part of the Stack Exchange Network. Sort, search and view questions, answers, tags and users. ...
8 votes
0 answers
331 views

Stack Mate - Explore your StackExchange accounts and get notified about unread messages and notifications on Windows Phone

About Stack Mate is a simple Windows Phone app which pulls in your StackExchange account details and keeps you up to date with any activity on the site. This application was not created to browse ...
3 votes
1 answer
124 views

Help with javascript SDK configuration

The following problem is REAL! All names have been changed to protect the innocent. I have a site at "http://Something.github.io/MyRepository/Directory/index.html" And I have my app configured like ...
3 votes
0 answers
133 views

Posting an answer via StackOverflow API

This is in reference to the StackOverflow for Windows and Windows Phone . I'm in the middle of the development of the app. Right now, I am trying to implement the posting of answers using the API. My ...
2 votes
0 answers
474 views

OAuth2 Authentication Redirection error in PHP

I'm trying to authenticate into Stack Exchange's API with the following URL: https://stackexchange.com/oauth/dialog?client_id=3535&scope=write_access&redirect_uri=https://stackexchange.com/...
2 votes
1 answer
195 views

"client_id rejected" error when retrieving the access_token

I'm developing an application in C# and I to post questions, so I need an access token. I registered my application and I have received a client ID. Then I get the following query-string to get the ...
3 votes
1 answer
115 views

Is developing, with the Stack Exchange API, possible on my local machine?

I'm sorry if this question seems trivial for the most of you but I'm not very familiar with OAuth and the Stack Exchange API. Is it possible to use this API in local environment for the development ...
2 votes
1 answer
316 views

Does verifying OAuth2 `access_token` validity count towards API call quota?

Does this Stack Exchange API endpoint count towards quota usage? : http://api.stackexchange.com/docs/read-access-tokens (This is the most promising API call I found for verifying the validity of ...
1 vote
1 answer
57 views

How do I update redirect_uri param for a StackExchange App [duplicate]

I've created a StackExchange app but now I cannot find the edit page so I can update the app settings, like: redirect_uri - which is an OAuth param
1 vote
0 answers
68 views

(Unofficial) Stack Overflow, Windows Phone app forgets its place when sleeping

Sometimes, when I'm reading a question on this (unofficial) Stack Overflow, Windows Phone app, the phone goes to sleep. When I wake it up, it's forgotten I was reading a question, and has gone back to ...
1 vote
1 answer
6k views

How to programmatically retrieve the access_token from client-side OAuth flow?

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 ...
1 vote
1 answer
191 views

Getting Error 400 when using Authentication Broker in Win 8 App for Stackexchange API

I'm trying to connect to Stack Exchange API using OAuth. So far I've been able to get a token and retrieve data that does not require authentication. When i try do query that uses the authentication, ...
2 votes
0 answers
116 views

Unhelpful error message when attempting to authenticate [duplicate]

I moved my app to a different server as part of a rewrite, and forgot to update the URL of the app on Stack Apps. When I tried to send a query to https://stackexchange.com/oauth and pass my (old, ...
0 votes
0 answers
48 views

Application icon on authorization page isn't loading

I can't seem to get the application icon for Stack Applet to display on the authorization page. (I'm using the implicit flow.) The URL that I open the browser to is: https://stackexchange.com/oauth/...
1 vote
0 answers
518 views

OAuth login fails for Stack Exchange and Facebook, but not Google

I'm integrating with Stack Exchange API on iOS 6 & 7. To authenticate, I load up a UIWebView with the OAuth page. Google login works well, but Stack Exchange and Facebook do not. Are these ...
119 votes
6 answers
12k views

Stacky - A .NET client library (Full support for API v2.0)

Stacky - A .NET Client Library The same great library now supports the 2.0 API! https://bitbucket.org/lfoust/stacky Sample Code IUrlClient urlClient = new UrlClient(); IProtocol protocol = new ...
1 vote
1 answer
254 views

Implicit OAuth authentication is not redirecting

I'm trying to build a simple iOS application , with login feature to stack overflow network. I've read the documentation and choose to use Implicit OAuth2.0. I've already registered an StackApps, so ...
11 votes
1 answer
369 views

Google’s OAuth redirect broken

We just tried to authenticate with our application without being logged into anything on StackExchange. This is best tested in a private browser session without any cookies etc. So after starting the ...
4 votes
0 answers
104 views

Implicit OAuth Flow stopped working. Redirect happening to a non existent URL [duplicate]

The following URL is first hit when a user clicks on Login: https://stackexchange.com/oauth/dialog?client_id=202&redirect_uri=https%3a%2f%2fstackexchange.com%2foauth%2flogin_success&scope=...