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

API Gateway Authentication #1

Open
hmamman opened this issue Dec 3, 2017 · 4 comments
Open

API Gateway Authentication #1

hmamman opened this issue Dec 3, 2017 · 4 comments

Comments

@hmamman
Copy link

hmamman commented Dec 3, 2017

Please how is it possible to add authentication capabilities at the API Gateway? Am currently implementing microservices architecture and wish to authenticate a user before proxying request.

I would like to commend the author for this great work.

@erez-rabih
Copy link
Contributor

Hi @hmamman,
I'm afraid authentication is not covered by this project.
A Pull Request would be nice if you found a way to integrate it.

@hmamman
Copy link
Author

hmamman commented Dec 4, 2017 via email

@christxyz
Copy link

Hi Author,
I followed your readme instruction. But don't know how to verify the test and configuration. Please kinldy help.

root@openvswitchhk:/tmp/api-gateway-example# docker-compose up
Creating apigatewayexample_authentication_1
Creating apigatewayexample_inbox_1
Creating apigatewayexample_gateway_1
Creating apigatewayexample_tester_1
Attaching to apigatewayexample_authentication_1, apigatewayexample_inbox_1, apig atewayexample_gateway_1, apigatewayexample_tester_1
authentication_1 | [2019-08-16 03:18:36] INFO WEBrick 1.3.1
authentication_1 | [2019-08-16 03:18:36] INFO ruby 2.3.0 (2015-12-25) [x86_64- linux]
authentication_1 | [2019-08-16 03:18:36] INFO WEBrick::HTTPServer#start: pid=1 port=80
inbox_1 | [2019-08-16 03:18:36] INFO WEBrick 1.3.1
inbox_1 | [2019-08-16 03:18:36] INFO ruby 2.3.0 (2015-12-25) [x86_64- linux]
inbox_1 | [2019-08-16 03:18:36] INFO WEBrick::HTTPServer#start: pid=1 port=80
authentication_1 | 172.17.0.4 - - [16/Aug/2019:03:18:37 +0000] "GET /login HTTP /1.1" 200 - 0.0007
authentication_1 | [2019-08-16 03:18:37] WARN chunked is set for an HTTP/1.0 r equest. (ignored)
gateway_1 | 172.17.0.5 - - [16/Aug/2019:03:18:37 +0000] "GET /login HTTP /1.1" 200 55 "-" "Ruby"
inbox_1 | 172.17.0.4 - - [16/Aug/2019:03:18:37 +0000] "GET /messages H TTP/1.1" 200 - 0.0010
inbox_1 | [2019-08-16 03:18:37] WARN chunked is set for an HTTP/1.0 r equest. (ignored)
gateway_1 | 172.17.0.5 - - [16/Aug/2019:03:18:37 +0000] "GET /messages H TTP/1.1" 200 49 "-" "Ruby"
tester_1 | ..
tester_1 |
tester_1 | Finished in 0.01555 seconds (files took 0.15874 seconds to l oad)
tester_1 | 2 examples, 0 failures
tester_1 |
apigatewayexample_tester_1 exited with code 0
^CGracefully stopping... (press Ctrl+C again to force)
Stopping apigatewayexample_gateway_1 ... done
Stopping apigatewayexample_inbox_1 ... done
Stopping apigatewayexample_authentication_1 ... done
root@openvswitchhk:/tmp/api-gateway-example#

@christxyz
Copy link

Hi Author,
Could you please kindly record a video in youtube or somewhere else so that I can follow it step by step clearly? thanks a lot

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

3 participants