Go-micro: Account not issued by...

Created on 11 Jun 2020  ·  12Comments  ·  Source: asim/go-micro

Error using api gateway access.
Added namespace when running micro.
micro api --namespace=go.micro.wPan
Account not issued by go.micro.wPan
why?
thank!

Most helpful comment

micro --auth_namespace=go.username api --namespace=go.username

All 12 comments

Which release are you using?

go 1.13
github.com/micro/go-micro v1.18.0
github.com/micro/go-plugins v1.5.1

What version of micro? This is the micro api

cmd micro --version
==>micro version latest

the actual release version? how are you downloading micro?

if you are running an old version please get the latest. Otherwise if you plan to stay with go-micro v1.18 please downgrade micro

I have the same problem, go-micro version:

go 1.13

// This can be removed once etcd becomes go gettable, version 3.4 and 3.5 is not,
// see https://github.com/etcd-io/etcd/issues/11154 and https://github.com/etcd-io/etcd/issues/11931.
replace google.golang.org/grpc => google.golang.org/grpc v1.26.0

require (
github.com/golang/protobuf v1.4.2
github.com/micro/go-micro/v2 v2.9.0
google.golang.org/protobuf v1.24.0
)

github.com/micro/cli/v2 v2.1.2
github.com/micro/cli/v2 v2.1.2/go.mod
github.com/micro/go-micro v1.18.0
github.com/micro/go-micro/v2 v2.9.0
github.com/micro/go-micro/v2 v2.9.0/go.mod

Hello, I have the same issue...
go version go1.14.2 darwin/amd64
micro version latest

micro --auth_namespace=go.username api --namespace=go.username

Me too,

go 1.14

go.mod
...
github.com/micro/go-micro/v2 v2.8.0
replace github.com/micro/go-micro/v2 => github.com/micro/go-micro/v2 v2.8.1-0.20200604083217-bd3ef6732811

docker-compose:

micro:
command: api --handler=api --namespace com.dinamonetworks
image: micro/micro:latest
ports:
- "9090:8080"

Message:
Account not issued by com.dinamonetworks

hi,all:

Me too

micro --auth_namespace=go.username api --namespace=go.username

This works for me!

Looks like there is a resolution, otherwise please file issue in micro/micro for any further problems

Was this page helpful?
0 / 5 - 0 ratings

Related issues

oldshipmaster picture oldshipmaster  ·  7Comments

djensen47 picture djensen47  ·  8Comments

hb-chen picture hb-chen  ·  3Comments

brandon-welsch picture brandon-welsch  ·  3Comments

xmlking picture xmlking  ·  7Comments