Skip to main content

Questions tagged [authentication]

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

22 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
18 votes
0 answers
119 views

Add a dedicated bot login to Stack Apps

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
  • 329
6 votes
0 answers
434 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 ...
Linostar's user avatar
  • 161
6 votes
0 answers
239 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 ...
austin's user avatar
  • 171
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-...
NikxDa's user avatar
  • 141
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 ...
Bob's user avatar
  • 286
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 ...
Mitch's user avatar
  • 131
3 votes
0 answers
108 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({ ...
SOUPTIK BANERJEE's user avatar
2 votes
0 answers
335 views

window.opener is null in Stack Exchange login_success page

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
2 votes
0 answers
86 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 ...
gillesberger_p's user avatar
2 votes
0 answers
224 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: ...
Mahahari's user avatar
  • 129
2 votes
0 answers
64 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. ...
erotavlas's user avatar
  • 229
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/...
2359967's user avatar
  • 103
2 votes
0 answers
83 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 ...
Pwner's user avatar
  • 185
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, ...
Eimantas's user avatar
  • 256
1 vote
0 answers
153 views

Use Stack Overflow's authentication API in a browser extension

I want to create a browser extension that reproduce the Stack Overflow navbar (inbox and achievements): I need for that to authenticate the current user using the authentication API. For this step, I ...
johannchopin's user avatar
1 vote
0 answers
165 views

Having Trouble Setting Up OAuth for App

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

The authentication doc gives a wrong domain for authentication

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
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 ...
Pwner's user avatar
  • 185
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 ...
PM 77-1's user avatar
  • 111
1 vote
0 answers
257 views

/oauth/access_token not redirecting back to my redirect_uri

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
1 vote
0 answers
314 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 ...
barry's user avatar
  • 111
1 vote
0 answers
267 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 ...
agares's user avatar
  • 181