1

Following the steps provided in the docs to authenticate to stackexchange via the js sdk api, I'm unable to authenticate if I pass the networkUsers: true to the auth call.
I'm getting the following error:

{
  errorName: "bad_parameter",
  errorMessage: "`key` doesn't match a known application"
}

If I remove that parameter, for example:

SE.authenticate({
   scope: ['read_inbox', 'no_expiry', 'write_access', 'private_info'],
   success: console.log,
   error: console.warn,
})

everything works as expected.

What's weirder is that this is only happening when using a certain stack app.

Note: I'm using 2 stack apps for for different env. One of them is working ok, while the other gives me this error :)

Any suggestions?

You must log in to answer this question.

Browse other questions tagged .