How to setup a passthro proxy in edgemicro?

By default edgemicro has authentication for the proxy, how to disable it use it just as a passthro proxy

Solved Solved
0 5 294
1 ACCEPTED SOLUTION

Hi @Mukundha Madhavan To disable authentication, Edit the <microgateway-root-dir>/config/default.yaml file and set "allowNoAuthorization" and "allowInvalidAuthorization" under OAuth plug-in to true.

Your configuration should look like this -

oauth:

  allowNoAuthorization: true

  allowInvalidAuthorization: true

These changes will take effect only if you re-run the edgemicro configure command.

View solution in original post

5 REPLIES 5

Hi @Mukundha Madhavan To disable authentication, Edit the <microgateway-root-dir>/config/default.yaml file and set "allowNoAuthorization" and "allowInvalidAuthorization" under OAuth plug-in to true.

Your configuration should look like this -

oauth:

  allowNoAuthorization: true

  allowInvalidAuthorization: true

These changes will take effect only if you re-run the edgemicro configure command.

do you want to restart or re-configure the micro?

If you edit the <microgateway-root-dir>/config/default.yaml file, you need to re-run the edgemicro configure command and restart Edge Microgateway. If you edited the ~<microgateway-root-dir>/config/config.yaml file, then you only need to restart Edge Microgateway.

QUESTION: will useage analytics show up when you do this or will they be ignored?

Analytics will always show up. If there are not apikey etc then obviously information identifying app/developer will not be there but rest should be.