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

How to add authentication to go-micro/api? #2644

Open
ryanrain2016 opened this issue Jul 4, 2023 · 1 comment
Open

How to add authentication to go-micro/api? #2644

ryanrain2016 opened this issue Jul 4, 2023 · 1 comment

Comments

@ryanrain2016
Copy link

I want to add authentication to the gateway implemented with go-micro/api, but I don't know how to do it. Seems like the api doesn't implement something like middleware. Is there any other way to add an authentication method to the gateway?

@jochumdev
Copy link
Member

https://github.com/jo-micro/auth2
https://github.com/jo-micro/router

Are changes to make Auth work in go-micro.

Else you might wait for go-orb to be done.

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

2 participants