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

Whitelist for IP checks #174

Open
r0wdy1 opened this issue Apr 11, 2023 · 0 comments
Open

Whitelist for IP checks #174

r0wdy1 opened this issue Apr 11, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@r0wdy1
Copy link
Contributor

r0wdy1 commented Apr 11, 2023

Add a new handler for URL query parameter like https://app.zkbob.com?wl=43125df4312

  1. If the parameter is present check GET relayerURL/wl/43125df4312
    1. if 200 - bypass geo IP check
    2. else - proceed with geo IP check as always
  2. The parameter must be preserved in URL when navigating, so that it would be passed on when sharing the URL
  3. Pass wl in HTTP header X-Auth-WL when posting transaction to relayer
@maikReal maikReal added the enhancement New feature or request label Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants