Agile-Waterfall / flooq

A tool that enables developers to connect multiple applications without the need to develop any interface.
https://flooq.io
8 stars 0 forks source link

Token Storage #91

Open MrF3lix opened 2 years ago

MrF3lix commented 2 years ago

As a user I want to be able to save tokens as secrets to access other APIs that require an access token.

Important:

Acceptance Criteria

Related

The following issues have been created as sub-issues:

MrF3lix commented 2 years ago

The following issues have been created as sub-issues:

DuplosFidibuss commented 2 years ago

So far, I have figured some possibilities to safely store user secrets in the API as follows:

The solution suggested by partech.nl makes use of IDataProtectionProvider (https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.dataprotection.idataprotectionprovider?view=aspnetcore-6.0) and IDataProtector (https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.dataprotection.idataprotector?view=aspnetcore-6.0) and seems to be a useful approach. The solutions described on the stackoverflow post include using the Identity Protected attribute, which would lead to extending our current identity implementation to allow for storing user tokens as protected values.