Questions tagged [authentication]
A question about the Stack Exchange authentication process and related API methods.
89 questions
5
votes
1
answer
248
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 ...
2
votes
0
answers
76
views
Does a user only need to log in once to access all sites?
When I use stack exchange sites on my desktop web browser, I log in once using stack exchange ID and then when I navigate to sites I don't belong to, it automatically associates me with the new site. ...
2
votes
0
answers
240
views
Stackoverflow Javascript Authentication error
Using the Stack Overflow javascript authentication API, I get this error:
Application Login Failure An error occurred while login into an
application.
Error Details
error description: could ...
4
votes
1
answer
354
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 ...
2
votes
1
answer
120
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/#...
7
votes
1
answer
586
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 ...
3
votes
0
answers
314
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 ...
2
votes
0
answers
101
views
Provide a way to get display name via access token
Please include a new (network) method with the ability to gather display name and profile image directly via access token.
Right now to retrieve this information you have to first authenticate a ...
6
votes
0
answers
476
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 ...
2
votes
0
answers
487
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/...
4
votes
1
answer
122
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 ...
3
votes
1
answer
568
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
528
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 ...
2
votes
1
answer
195
views
Can you identify a user from the access_token?
I have the access_token after authentication from the user. At this point I don't know with which sites this user has registered. Is it possible to get user information like the display name or ...
-4
votes
1
answer
136
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?
2
votes
1
answer
219
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
0
answers
117
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({
...
1
vote
1
answer
260
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 ...
3
votes
1
answer
144
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
0
answers
270
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 ...
6
votes
0
answers
260
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 ...
5
votes
1
answer
211
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 ...
1
vote
0
answers
324
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
2
answers
246
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 ...
2
votes
0
answers
119
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
1
answer
355
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
141
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
0
answers
96
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 ...
3
votes
1
answer
212
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 ...
1
vote
1
answer
158
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?
2
votes
1
answer
82
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 ...
2
votes
1
answer
116
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 ...
1
vote
1
answer
74
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-...
3
votes
1
answer
92
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)?
0
votes
1
answer
85
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
100
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 ...
2
votes
1
answer
84
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 ...
2
votes
0
answers
59
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, ...
0
votes
1
answer
65
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 ...