Skip to content

Add OAuth verifiers (Instagram & Discord)

Nick Orlowsky requested to merge no-new-verifiers into master

image Flow of how OAuth auth will work with harbor

Adds:

  • Method for supplying verifier with proof outside of the claim (challengeResponse)
  • Test grouping (manual for ones requiring a human, ci for ones that can be run without human input, local-ci for ones that can be run without a human, but require a residential ip)
  • Instagram OAuth verification method & manual test
  • Discord OAuth verificaiton method & manual test
  • GET /api/oauth endpoint for getting an oauth callback url
  • GET /api/oauth_handle endpoint for converting an oauth code to a token and to get the username (username is necessary to have as it is required when creating a claim)
  • Updates polycentric dep
  • dotenv for reading files from a .env file

Adding other oauth verifiers should be fairly trivial after this is merged

Edited by Nick Orlowsky

Merge request reports

Loading