verida / data-connector-server

1 stars 2 forks source link

Support OAuth token access instead of private keys #74

Open tahpot opened 3 months ago

tahpot commented 3 months ago

Currently the /connect and /sync endpoints expects the private key (or seed phrase) of an identity.

This was just for the PoC and is poor security practice. This needs to be upgraded to accept either one of:

tahpot commented 2 months ago

See: https://www.npmjs.com/package/@node-oauth/express-oauth-server and https://www.npmjs.com/package/@node-oauth/oauth2-server