Skip to main content

Questions tagged [oauth2]

For questions relating to authenticating with the Stack Exchange API using OAuth 2.0, which is an open standard for authorization. General OAuth 2.0 questions are off-topic but might find a home elsewhere in the network.

25 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9 votes
0 answers
6k views

sanction: a dead easy OAuth2 client Python implementation

Overview sanction is a lightweight, dead simple (67 LOC!) client implementation of the OAuth2 protocol. The major goals of the library are: Support multiple providers Most providers have varying ...
Demian Brecht'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
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
4 votes
0 answers
613 views

What should I put in redirect_uri for implicit OAuth 2.0

From the document I can't figure out what value should I put in redirect_uri if I want to implement iPhone app. I try https://stackexchange.com/oauth/login_success but it not work and show this error ...
art's user avatar
  • 141
3 votes
0 answers
104 views

PLACEHOLDER - VosMottor's Bot

Just creating a bot for Stack Exchange. I just started so far.
USERNAME GOES HERE's user avatar
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
98 views

Is it safe to change the OAuth Domain?

I'm about to develop a small application that will use the Stack Exchange API. I understand that I have to provide an OAuth Domain when I register the application with Stack Exchange. Right now, I am ...
Kal's user avatar
  • 193
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
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
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
1 vote
0 answers
102 views

Propose Stack Overflow / Stack Exchange as OAuth provider to demo-eleventy-serverless-oauth

Screenshot / Code Snippet About Eleventy is a static website generator. On version 1 it added support for severless functions. During the beta, the Eleventy maintainer created a demo for using ...
Wicket's user avatar
  • 241
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
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
52 views

How to automate StackApp user approve and user login with stack Exchange explicit oAuth2.0

We are developing an stack App and integrating the app in our application. However we have successfully done a POC over POSTMAN and fiddler for explicit oAuth2.0. Now when we are integrating the same ...
msftsofbot's user avatar
1 vote
0 answers
146 views

Trying to get Stack Overflow Access token Using "RestAssured"

I have been trying to create an access token for a Stack Exchange app (already created). I am not even sure if I am using the correct URL https://stackoverflow.com/oauth/access_token. RestAssured....
Mahesh Shetty'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
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
0 votes
0 answers
30 views

Multiple Callback Domains with SE API?

In order to use the API, you have to have Callback APIs. They're not hard to implement, but there's still some headaches if you want to use more than one Callback endpoint. For example, an ...
Thomas Ward's user avatar
0 votes
0 answers
53 views

OAuth implicit login dialog layout on Mobile Safari needs improvement

On mobile safari (iOS 13.3.1) the layout of the dialog page could be improved. On opening the page look like this on an iPhone11: The reasoning being this request is that the login dialog in the ...
Luca Bartoletti'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