I have an implementation for an internal API, the requirement is to implement some sort of basic authentication instead of oauth (generating a token).

Do you think there’s any difference between using just an API key vs using a client id + secret?
For what I see it’d be just like saying “using a password” vs “using a user and a password”.

  • ck_@discuss.tchncs.de
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    Its never really a good approach to store secrets in plain text. I don’t see how that would be more expensive for your database than validating clientId + secret.