database - How to store someone else's password? -
this question has answer here:
there's general consensus on how store passwords if have validate them (i.e. hash + salt (+ pepper)). however, building application logs users in service x actions a, b, c repeatedly them.
how 1 store passwords in case? if encrypted, there has 1-to-1 conversion if 1 wants log them service x.
there no safe way store passwords can decrypted plain text form.
the oauth2 protocol offers solution use case.
it asks user authenticate , issues application access token (and potentially refresh token) allows application access or act upon behalf of user.
Comments
Post a Comment