2

Resolved

Gateway Security Authorization error

description

I followed the instructions in the documentation to setup the service gateway console.

I was able to configure the Roles, but when I got to the Security page I get an error from WAAD: "Sorry, but we’re having trouble signing you in. We received a bad request."

Here is the request to WAAD
https://login.windows.net/ guid>/oauth2/authorize?api-version=1.0&response_type=code&client_id=<my application key>&resource=https%3a%2f%2fmanagement.core.windows.net%2f&redirect_uri=http%3a%2f%2fsgconsole.azurewebsites.net%2fHome%2fAuthorizationCode%3fselectorCode%3dRDFE


I get the same error when visiting "deployments" and "analytics"

I am signed in using a user in my WAAD domain and with "Global Administrator" permissions.

comments

lmillott wrote Apr 2, 2014 at 8:43 PM

I was able to debug and figure out the issue. I had swapped my clientid and the key when I set up the gateway initially. I set up a new one and it worked. It would be nice to have a way to re-enter those values in case you mess them up initially like I did, or if you want to associate it to a different active directory.

jamesbak wrote Apr 2, 2014 at 10:52 PM

Hi,

I'm glad you were able to diagnose & fix your issue!

You can get back to re-enter the auth details via the URL /Home/Start. We have not added a UX link to access this, but it is always available.

Thanks for using the Gateway & please keep the feedback coming.

-James