Announcements
The Google Cloud Community will be in read-only from July 16 - July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How come I'm getting acccess denied when sending valid token to the Microgateway?

Not applicable

I'm setting up a Edge Microgateway, via the instructions here, but my microgateway fails when i try to use the generated token. I use the 'edgemicro token get' command to get the token, and that returns with no problems, but once I go to use that token in my request, I get an 'access_denied'.

I went into the config.yaml file to turn off the oauth parameters by setting 'allowNoAuthorization' and 'allowInvalidAuthorization' both to true. After doing that, my microgateway was working and I was getting a proper response. Anyone have any ideas on why the generated access token is not working properly?

I'm running:

nodejs version: 6.7.0

edgemicro version: 2.3.1

0 4 326
4 REPLIES 4