Skip to content

Authenticating and limiting the requests from api-gateway, create JWT and return to api-gateway.

License

Notifications You must be signed in to change notification settings

weizai118/gateway-helper

 
 

Repository files navigation

Gateway Helper

Permissions check, traffic restrictions service. Authenticating and limiting the requests from api-gateway, create JWT and return to api-gateway. You can specify which gateway-helper to go through manager-service, and configure the request to use the default gateway-helper or the customized gateway-helper for authentication and traffic restriction. At the same time, the service does not need to be restarted after the modification.

流程图

Feature

  • Add a custom gateway-helper demo

Requirements

  • This service is an eureka client service. To run in local, we need to cooperate with eureka-server, and the online operation needs to cooperate with go-register-server.
  • Need to cooperate with api-gateway to complete the gateway functions such as authentication, rateLimit.

Installation and Getting Started

  • run eureka-server
  • run mysql,ensure that the database table of iam_service has been initialized
  • Go to the project directory and run mvn spring-boot:run

Dependencies

  • go-register-server: Registration service
  • config-server: Configuration service
  • kafka
  • mysqliam_service database

Links

Reporting Issues

If you find any shortcomings or bugs, please describe them in the issue.

How to Contribute

Pull requests are welcome! Follow to know for more information on how to contribute.

Note

  • Need to cooperate with api-gateway to complete the gateway functions such as authentication, traffic restriction.

About

Authenticating and limiting the requests from api-gateway, create JWT and return to api-gateway.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 63.5%
  • Groovy 35.0%
  • Smarty 1.2%
  • Dockerfile 0.3%