nftstorage / nftstorage.link

🪐 NFT.Storage Gateway, the IPFS gateway for NFT.Storage is not "another gateway", but a caching layer for NFTs that sits on top of existing IPFS public gateways. ***Notice: Uploads have been decommissioned.**** Learn more and find a new hot storage provider for uploading new assets: nft.storage/nft-storage-classic
https://nft.storage/nft-storage-classic
Other
46 stars 10 forks source link

refactor: authentication and authorization via api #94

Closed vasco-santos closed 2 years ago

vasco-santos commented 2 years ago

Refactor to use api.nft.storage for authentication and authorization by requesting user tags with token. If it succeeds, we use FDW to get user ID. This relies on nft.storage auth instead of replicating logic here, also allowing us to get rid of JWT related code.

Mocked api.nft.storage via smoke, also mocking users with account blocked and not access to super hot.