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

[Question]: doc/cookbook/security.md#jwt-1 yaml wrong #955

Closed
3 tasks done
CoderFengZi opened this issue Mar 5, 2023 · 0 comments
Closed
3 tasks done

[Question]: doc/cookbook/security.md#jwt-1 yaml wrong #955

CoderFengZi opened this issue Mar 5, 2023 · 0 comments
Labels
question Further information is requested

Comments

@CoderFengZi
Copy link
Contributor

This is not Bug report or Feature request

  • I confirm that this is not bug report or feature request.

Is this question answered in the documentation?

  • I have searched the documentation

Is there an existing issue for this?

  • I have searched the existing issues

Your question

I found document wrong in doc/cookbook/security.md#jwt-1 in latest version 2.4.0

name: pipeline-reverse-proxy
kind: Pipeline
flow:
  - filter: jwt-validator
  - filter: proxy
filters:
  - kind: Validator
    name: jwt-validator
    jwt:
      cookieName: auth
      algorithm: HS256
      secret: 6d7973656372657
       - name: proxy
  - kind: Proxy
    pools:
    - servers:
      - url: http:https://127.0.0.1:9095
      - url: http:https://127.0.0.1:9096
      - url: http:https://127.0.0.1:9097
      loadBalance:
        policy: roundRobin

I think the right is

name: pipeline-reverse-proxy
kind: Pipeline
flow:
  - filter: jwt-validator
  - filter: proxy
filters:
  - kind: Validator
    name: jwt-validator
    jwt:
      cookieName: auth
      algorithm: HS256
      secret: 6d7973656372657
  - kind: Proxy
    name: proxy
    pools:
    - servers:
      - url: http:https://127.0.0.1:9095
      - url: http:https://127.0.0.1:9096
      - url: http:https://127.0.0.1:9097
      loadBalance:
        policy: roundRobin

wrong place is Proxy name

@CoderFengZi CoderFengZi added the question Further information is requested label Mar 5, 2023
@CoderFengZi CoderFengZi changed the title [Question]: [Question]: doc/cookbook/security.md#jwt-1 yaml wrong Mar 5, 2023
CoderFengZi added a commit to CoderFengZi/easegress that referenced this issue Mar 5, 2023
fixes easegress-io#955 doc issues,update JWT Validator yaml
CoderFengZi added a commit to CoderFengZi/easegress that referenced this issue Mar 5, 2023
LokiWager pushed a commit to LokiWager/easegress that referenced this issue Mar 8, 2023
caoshengdong pushed a commit to caoshengdong/easegress that referenced this issue Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant