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

White list authorised IP #3

Open
hitman401 opened this issue Sep 20, 2018 · 0 comments
Open

White list authorised IP #3

hitman401 opened this issue Sep 20, 2018 · 0 comments

Comments

@hitman401
Copy link
Owner

hitman401 commented Sep 20, 2018

  • Create a mock auth page with a Authorise button and map it to a authorise endpoint
  • Ignore the authorisation with the forum for this task and assume that the IP from the request must be written to a file
  • Mock the auth success response to be
{
id: 89898,
user: 'krishna'
}
  • Upsert the User info and the IP obtained from the req into the user collection in mongodb
  • Retrieve the list of IP and create a whitelist file based on an agreed template
  • Write the created file in the location which will be fetched from a config file.
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

1 participant