Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
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 ...
poke's user avatar
  • 707
7 votes
1 answer
297 views

Stackexchange oauth2.0 is suddenly failing

No changes in stack apps or my code, it was working fine for a while, suddenly it stopped working now. I get "InternalOAuthError: Failed to obtain access token" After more details inspection,...
Leart Beqiraj's user avatar
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 ...
Mikhail Vink's user avatar
5 votes
1 answer
356 views

Suddenly getting "Couldn't parse `client_id`"

For years, I've run a local PHP app using GuzzleHttp\Client to download my StackExchange posts. Today, I'm suddenly getting this problem when posting my client_id, client_secret, code, redirect_uri. { ...
Ryan's user avatar
  • 151
5 votes
1 answer
281 views

Cannot authenticate with OAuth2

I was testing an app and suddenly I can't login any more. Neither my app or the Stack App configuration hasn't changed, so I'm thinking this might be a bug on the API side. The OAuth error seems a ...
gion_13's user avatar
  • 161
5 votes
1 answer
644 views

Issue with JavaScript SDK

When using the JavaScript SDK to enable client side OAuth flow, I'm running into this issue: Uncaught TypeError: Cannot read properties of null (reading 'postMessage') And the page gets stuck with the ...
Sourabh Choraria's user avatar
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 ...
Birkan Cilingir's user avatar
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
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=...
Prasanna's user avatar
  • 348
3 votes
1 answer
398 views

"OAuth request must be over HTTPS" when request is over https

I had a bug reported to me that I was able to reproduce. When authorizing to my Badges webapp, we get the following error: error: invalid_request error description: OAuth request must be over ...
agent86's user avatar
  • 3,277
3 votes
1 answer
373 views

Stack Exchange OAuth2, explicit access-token response format does not adhere to RFC6749 standard

I'm using the Stack Exchange v2.1 API. I'm using the explicit OAuth 2.0 flow, but it seems that the access token response step does not adhere to the RFC 6749 standard. Specifically, the Stack ...
Wu-Man's user avatar
  • 131
3 votes
1 answer
134 views

Permission request form is broken, approve button is hidden, css variables are missing

You can check that form doesn't work with this link https://stackoverflow.com/oauth?client_id=17581&scope=no_expiry&redirect_uri=http://functional.localdomain:3449/login/github
Yanis Urbis's user avatar
3 votes
1 answer
4k views

OAuth redirect not completing

This is the URL that I'm entering (in Safari, cleared website data and cache; my app, uses own Cookie jar; and incognito chrome) https://stackexchange.com/oauth/dialog?client_id=23&scope=...
Jonathan.'s user avatar
  • 3,118
3 votes
0 answers
156 views

OAuth Dialog rendering problems in iPad

I'm using the implicit OAuth flow for our native iPad app. We're calling the standard URLs in a UIWebView. The Stack Exchange login renders with several UI glitches. The first screen looks correct: (...
bromanko's user avatar
  • 489
2 votes
1 answer
102 views

The new implicit authentication dialog doesn't handle comma-delimited scopes

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

Can I have more than one OAuth Domain?

I tried to set more than one OAuth Domain, but seems to it's not working. I tried to set them separated by comma or space, but got redirect_uri - must be under an apps registered domain error message. ...
mohax's user avatar
  • 121
2 votes
0 answers
104 views

Login problem on devices pre Windows Phone 8.1 Update 1

I have recently published an app for browsing Stack Exchange websites and a major feedback I received from users was about the inability to use oauth login form while logging into the app. The ...
Birkan Cilingir's user avatar
1 vote
1 answer
186 views

API is accepting requests from other OAuth domains

I've set an OAuth domain for an application (the client_id is 24) and the following link authorizes the application: https://stackexchange.com/oauth/dialog?client_id=24&scope=no_expiry,...
Nathan Osman's user avatar
  • 23.3k
1 vote
0 answers
58 views

StackExchange API explicit oauth2 json doesn't return status 400

It is said here that if the request failed, it will return error with HTTP status code 400 but I'm getting HTTP status code 200 even when it is returning an error. I'm hitting https://stackoverflow....
Kevin King's user avatar
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 ...
Anton Tarasenko'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
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
0 votes
0 answers
83 views

Error invalid_request "OAuth request must be over HTTPS" when starting oauth flow

I'm building an application on top of StackExchange's API for a month now. While I was building the OAuth flow to allow users to authenticate using their StackExchange account, everything was working ...
Vinicius Andrade's user avatar
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/...
Nathan Osman's user avatar
  • 23.3k