Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Account not issued by... #1698

Closed
coder2z opened this issue Jun 11, 2020 · 12 comments
Closed

Account not issued by... #1698

coder2z opened this issue Jun 11, 2020 · 12 comments

Comments

@coder2z
Copy link

coder2z commented Jun 11, 2020

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!

@asim
Copy link
Member

asim commented Jun 11, 2020

Which release are you using?

@coder2z
Copy link
Author

coder2z commented Jun 11, 2020

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

@asim
Copy link
Member

asim commented Jun 11, 2020

What version of micro? This is the micro api

@coder2z
Copy link
Author

coder2z commented Jun 11, 2020

cmd micro --version
==>micro version latest

@asim
Copy link
Member

asim commented Jun 11, 2020

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

@xiaocode337317439
Copy link

xiaocode337317439 commented Jun 15, 2020

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 etcd-io/etcd#11154 and etcd-io/etcd#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

@tanolsdk
Copy link

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

@xiaohei5194
Copy link

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

@joseroberto
Copy link

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

@xox9001
Copy link

xox9001 commented Jun 20, 2020

hi,all:

Me too

@dcam0050
Copy link

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

This works for me!

@asim
Copy link
Member

asim commented Jun 26, 2020

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

@asim asim closed this as completed Jun 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants