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
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 ...
5
votes
0
answers
156
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,...
4
votes
0
answers
55
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-...
4
votes
0
answers
155
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 ...
4
votes
0
answers
604
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
...
3
votes
0
answers
103
views
PLACEHOLDER - VosMottor's Bot
Just creating a bot for Stack Exchange. I just started so far.
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 ...
3
votes
0
answers
94
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 ...
3
votes
0
answers
154
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:
(...
2
votes
0
answers
64
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.
...
2
votes
0
answers
103
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 ...
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/...
1
vote
0
answers
35
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 ...
1
vote
0
answers
56
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....
1
vote
0
answers
142
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 ...
1
vote
0
answers
137
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 ...
1
vote
0
answers
49
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 ...
1
vote
0
answers
135
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....
1
vote
0
answers
79
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 ...
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 ...
1
vote
0
answers
229
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="...
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 ...
0
votes
0
answers
50
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 ...
0
votes
0
answers
77
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 ...
0
votes
0
answers
46
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/...