Closed jakobphilippe closed 7 months ago
Good stuff but we'll have to make sure that after this gets merged people update their go dependencies, continuing to look through the MR
For the env variable does it not work in the top level env file we already create? If possible this simplifies down having to juggle multiple env files
functionality is looking good! Going to do a second pass in a bit through the actual code. My one thing is it may be good to get the callback url version of this, so that we can auto hit the verify and close the page possibly, depends how this gets integrated on the FE
Description
OAuth Flow implementation
How Has This Been Tested?
oauths_table
is created./redirect
endpoint, and verify that a redirect_url is returned./verify
endpoint with the JSON bodyoauths_table
and verify a new row filled with tokens.Note that until authentication is setup, I've hardcoded the user ID that the tokens are generated for, so make sure there is at least one user in the
users
table.Checklist