In the POST method of the /create endpoint, it would be a good idea to authenticate using some sort of either token, or Oauth. You will need to work with certain members of FSLC leadership in order to actually do this, but basically you should create a function that checks for an authentication token in the body of the HTTP request against some other API (will need requests to do this), and only allows shortened URL creation if success.
You will also need to modify templates/create.html to include a single-sign on (SSO).
In the
POST
method of the/create
endpoint, it would be a good idea to authenticate using some sort of either token, or Oauth. You will need to work with certain members of FSLC leadership in order to actually do this, but basically you should create a function that checks for an authentication token in the body of the HTTP request against some other API (will needrequests
to do this), and only allows shortened URL creation if success.You will also need to modify
templates/create.html
to include a single-sign on (SSO).