You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.
Started playing with this feature since is an open requirement and found couple of things that are not working out quite well for me, let me list them out below
This is my scenario:
test-api has 3 methods: GET users, GET users?:id, and POST users
my extauth is /auth endpoint accept only POST
Issues
When I tried GET /users, it tries to authorize at GET /auth/users (not found)
When I tried POST /users, it tries to authorize at POST /auth/users (not found)
Also when I tried an undefined mapping like GET /, it tries to hit the authentication service GET /auth (not found)
Questions:
Can I just specify this is my auth endpoint and don't attach the mapping?
Do just a POST to the extauth, don't carry out the mapping method?
Can I add some body/header to the extauth call?
is it possible to specify which mapping will need auth, and have some others run free of auth?
Started playing with this feature since is an open requirement and found couple of things that are not working out quite well for me, let me list them out below
This is my scenario:
Issues
Questions:
Here's my config:
apiVersion: ambassador/v0
kind: Mapping
name: users_mapping
prefix: /users/
method: GET
rewrite: /users/
service: test-api:3000
apiVersion: ambassador/v0
kind: Module
name: authentication
config:
auth_service: "test-api:3000"
path_prefix: "/auth"
allowed_headers:
Thanks,
Roilan
The text was updated successfully, but these errors were encountered: