Questions tagged [authentication]

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

Filter by
Sorted by
Tagged with
5 votes
1 answer
152 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
105 views

error description: could not parse proxy url

I have seen the answers to the existing two questions on this topic but it has not helped. And the problem still persists so I am re-posting this question. Here is my code $(function(){ SE.init({ ...
3 votes
0 answers
246 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 ...
7 votes
1 answer
692 views

OAuth procedure for standalone user?

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

Desktop login URL: WebBrowser hangs (.NET) - JavaScript endless-loop

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

'The target origin provided does not match the recipient window's origin' message when trying to use localhost

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

After user login, how do you ask user for permissions?

For an app on Windows Phone, I'm missing the page after you enter your login credentials and click submit. When I debug on my device, after I log in I obtain the correct response Uri with access ...
2 votes
0 answers
472 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/...
6 votes
0 answers
425 views

Resurfacing bug: "could not parse proxy url" error message

According to this question, the "could not parse proxy url" bug was solved more than 2 years ago. However, when using the client-side OAuth flow, the aforementioned error message appears when ...
16 votes
1 answer
443 views

Bug in the StackExchange Api ? getting "could not parse proxy url" when user not logged in

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 ...
2 votes
1 answer
191 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
114 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 ...
1 vote
1 answer
5k 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 ...
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, ...
1 vote
0 answers
508 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 ...
7 votes
1 answer
525 views

No website (yet), how to register?

I just started developing a Stack Overflow client, and wanted to add authentication. I found out I needed to register for that and wasn't sure if it was okay to register your app when it is not yet ...
1 vote
1 answer
252 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 ...
2 votes
0 answers
82 views

How switch user accounts on the same device?

The Problem I'm integrating Stack Exchange API on iOS (iPhone). I've run into a situation where I can't log out and authenticate with a different account. I am stuck with the first account that I have ...
31 votes
6 answers
2k views

Draft Specification for API v2.0

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

localhost API key receives Curl error when retrieving access token

I have registered two apps -- one that will redirect to my website and the other that will redirect to a localhost server that I have running so I don't have to test my code on the site. I have ...
1 vote
0 answers
263 views

StackX app - problem signing in with Google ID

I have a problem with StackX app on my Samsung Galaxy 4 phone (Android 4.3). I'm logging to StackExchange in general, and StackOferflow in particular, using my Google ID. The app does not recognize ...
3 votes
1 answer
526 views

Receiving error "Unexpected domain on proxy URL"

I am currenty trying to write my first ever stack exchange application and was using the SE Jaavascript SDK v 2.0 for this purpose. I am stuck on the point of authenticating the user. I followed the ...
1 vote
0 answers
258 views

How can my app authenticate users with only a Stack Overflow account, using the Stack Exchange OAuth API 2.1?

Recently I registered an app in stackapps.com to provide a way to authenticate users with their Stack Overflow account. Then I noticed that Stack Exchange OAuth only works for users with a Stack ...
1 vote
1 answer
62 views

CDN redirect for the API's JavaScript SDK is incorrect

The API's JavaScript SDK is listed as https://api.stackexchange.com/js/2.0/all.js. However, GET request produces the following response: Status Code: 301 Moved Permanently Location: https://api-...
2 votes
1 answer
122 views

Not possible to login to approve or reject access to application on Windows Phone 7 device

I'm making an app for Windows Phone using the Stack Exchange API but I'm having a bit of trouble when I try to let the user approve the application (using client side flow). I open a web browser at ...
2 votes
1 answer
66 views

How can I re-authenticate StackAlert Addon

Recently I removed StackAlert Firefox addon from my apps list in StackExchange. Now when I reinstall it, it is not authenticating and giving message key is not valid for passed access_token.. How ...
1 vote
0 answers
312 views

How to login programmatically

I'm building an app for personal use. The app simply screen-scrapes the StackExchange homepage and checks whether I am currently logged in to StackExchange. This works fine. However, if the app ...
2 votes
0 answers
51 views

Better Call /me maybe?

I am using implicit OAuth 2.0 flow, hence requesting for a token first. Now when I want to know which user has logged in, I have to make request to /me endpoint to get all of the data about the user, ...
5 votes
1 answer
156 views

Do the terms "key" and "access_token" refer to the same thing?

I'm trying to get my head around all the limits and throttles but some terminology is confusing me: If an application does not have an access_token, then the application shares an IP based quota ...
0 votes
1 answer
76 views

Security certificate error when logging in with myOpenID

I have written an application that embeds the WebKit rendering engine (the same rendering engine used in Safari and Chrome). This application makes use of the /inbox route and therefore requires the ...
1 vote
1 answer
307 views

Implicit OAuth flow is not working when the user is not logged in.

Here is the URL I am trying to use: https://stackexchange.com/oauth/dialog?client_id=120&scope=read_inbox,no_expiry&redirect_uri=https://stackexchange.com/oauth/login_success This works ...
2 votes
1 answer
94 views

the stack exchange javascript library is 404

the library listed on the doc page for Authentication https://api.stackexchange.com/js/2.0/all.js ultimately redirects to https://api-v2cdn.sstatic.net/js/all.js which results in varying degrees ...
2 votes
1 answer
60 views

User to de-authorise app?

The API makes use of OAuth to allow queries such as /inbox/unread. In the documentation however, I cannot seem to find a way for the user to control actively the authentication: Is there a place for ...
3 votes
1 answer
57 views

What are the possible errors returned from authentication?

The title pretty much says it all, I couldn't find in the Authentication doc much about the errors (other than the HTTP code will be 400)?
3 votes
1 answer
174 views

How to provide a logout button for authentication?

How would you provide a logout button for an app that uses authentication. (Not so that the user has to choose to accept or reject the app, that's deleting the app from their tab) Basically force the ...
0 votes
1 answer
65 views

Removing/disallowing app does nothing

I have just deleted/disallowed, the console app and the app I'm currently writing. For the console the access token I was using before deleting the app carried on working, and when I got a new token, ...
0 votes
1 answer
57 views

Same redirect URL for Approve and Reject

Why, when I'm requesting /oauth/dialog and selecting either of the options I get redirected to the same URL with different hash values? It's not a bug per-se, just an observation I made while ...
2 votes
2 answers
204 views

User "authentication" (validation?) in V1 of the StackExchange API

In a previous question, it was asked whether it is possible to authenticate a user through the Stackoverflow API? The short answer was no, not until version 2. Now I would like to know: is there any ...
1 vote
1 answer
137 views

Is there an authentication component to the API?

Is there an authentication component with the API? Same as logging in with Facebook or Google etc?

1
2