All Questions
30 questions
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 ...
0
votes
0
answers
30
views
how can i take write acces on stack overflow [duplicate]
const express = require("express");
const router = express.Router();
const axios = require("axios");
const querystring = require("querystring");
const dotenv = require(&...
2
votes
1
answer
157
views
Is there a way to use the API without using localhost or a web domain?
I'm developing an SO chrome extension in React with TypeScript.
I've been reading the guide on how to use the API with OAuth and it looks fantastic for what I'm trying to do.
The problem is that the ...
3
votes
1
answer
850
views
Redirect URI for a chrome extension using StackExchange API Oauth
I'm working on a developing a browser extension which uses StackExchange API authentication. I was able to successfully implement the authentication for Microsoft edge/Chrome when I added chromiumapp....
8
votes
1
answer
1k
views
How can I quickly get an access token for personal use?
Registering your application or script gets you a higher daily quota and is fairly simply; a step by step guide is documented here: I only need a key, what do I do?
However, what if I do want an ...
4
votes
1
answer
607
views
Creating personal applications using Stack Overflow/Stack Exchange API
I want to create an application to read Stack Overflow notifications on my device.
My question: what should I provide in the OAuth Domain and Application website fields while registering the ...
2
votes
1
answer
2k
views
How to get access token from the hash?
I am trying to implement OAuth Stack Exchange API via Android app as client.
After a successful login from out I get the below URL how do I get or decode the access_token from the hash?
https://...
2
votes
1
answer
63
views
I have created a lot of access_token with no_expiry scope while experimenting. How do I delete them?
While learning how to work with the StackApps APIs, I created quite a few (more than 10) access_token with no_expiry scope. Finally I have got my applicaiton working but I am worried that all those ...
3
votes
1
answer
104
views
Cannot get redirect_uri to work
This is in regards to my userscript Bulk flag comments. I am sure I have not at all updated the userscript since the first release of June 24, and I am sure I was able to register for an access token ...
10
votes
1
answer
4k
views
What exactly is a valid OAuth domain name for registering your app?
I'm starting to write a native Android client for Stack Overflow, and wondering what exactly is a valid OAuth domain name?
Is it the package name of my app?
Or do I have to point it to a server ...
4
votes
1
answer
361
views
Getting an API key for an application without a server
When I go to register my application, it asks me my OAUTH application URL. But I don't have an OAuth server and I just want to get the api-key without my server.
How can I fill out the form required ...
4
votes
1
answer
158
views
How to use /me to display my profile data in StackExchange API?
So I'm able to use API calls like:
https://api.stackexchange.com/2.2/questions?pagesize=30&order=desc&sort=activity&site=stackoverflow
to display a list of questions. This is easy as it ...
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 ...
4
votes
1
answer
483
views
Refresh expired acess token basics
I'm trying to learn how to implement an OAuth flow in an Android app using a simple app with the Stack Exchange API.
Using WebView, I'm able to retrieve an access token and store it in my shared ...
2
votes
1
answer
196
views
Stack Exchange login hangs on Windows 10 Mobile?
I am working on a Stack Exchange App (Stack App for Windows 10 PC/Mobile and Windows 8.1 Mobile).
I have a user login set up and using the WebAuthenticationBroker in Universal Windows Platform, to ...
3
votes
1
answer
328
views
Same access token between different fetch_token requests
TL;DR:
Is it (or would it be) possible to get the same access_token from one fetch_token request to another, provided that the user is the same?
Scenario:
An anonymous user authenticates with Stack ...
0
votes
0
answers
71
views
OAuth domain with a custom port in a dev environment? [duplicate]
I have an app for which the OAuth domain is example.com
However, the domain for dev environment is example.com:8000
When trying to authorize the website, Stack Exchange replies with an error ...
2
votes
1
answer
108
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/#...
5
votes
1
answer
198
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 ...
15
votes
1
answer
2k
views
Unable to get access token
I am trying to get a non-expiry access token, like so:
https://stackexchange.com/oauth?scope=no_expiry&redirect_uri={{some_uri}}&client_id={{some_value}}
I am repeatedly getting the error:
...
-4
votes
1
answer
116
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?
4
votes
1
answer
288
views
Can not request info after OAuth
I am following The implicit OAuth 2.0 flow Guide:
My client ID is 4709 while key is RoZwtHUrhMP088oVGCMlxA((
I appended my URL as:
https://stackexchange.com/oauth/dialog?client_id=4709&scope=...
3
votes
1
answer
124
views
Help with javascript SDK configuration
The following problem is REAL! All names have been changed to protect the innocent.
I have a site at "http://Something.github.io/MyRepository/Directory/index.html"
And I have my app configured like ...
3
votes
1
answer
115
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
1
answer
6k
views
How to programmatically retrieve the access_token from client-side OAuth flow?
I'm making an application in C# and I need to both search and post answers, so I need an access token.
I found some information, libraries, and code pieces:
The authentication guide for the Stack ...
2
votes
0
answers
116
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
254
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 ...
12
votes
2
answers
6k
views
Can the redirect_uri contain port number?
Is it possible to have the redirect_uri contain a specific port?
For example: example.com:8080
Assuming that example.com is my registered domain, is the 8080 allowed? I have tried to put it as part ...
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
...
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 ...