security - Should you combine an API key and Oauth? -
so i'm building data hub. want store large amounts of data in database.
in order there these pipes of data data providers have make using apis.
i want secure apis know who's making streams , can limit makes them. can send them. make sense oauth non-ingestion api methods , use api key ingestion methods?
oauth tokens tend expire , ingestion of data long running process. doesn't feel right solution since there's 2 separate security protocols being used.
the other option see right force users check expiration time of tokens , try refresh them if it's expire , still need send data.
oauth 2.0 allows clients long-running offline processes via usage of refresh token allows client new access token when current 1 expires. user doesn't need involved since proper oauth 2.0 client should able deal expired tokens on own.
Comments
Post a Comment