315
you are viewing a single comment's thread
view the rest of the comments
[-] dan@upvote.au 51 points 3 months ago* (last edited 3 months ago)

lol at the DO NOT TRUST keys.

I've learnt over the years that you have to make the example code fail to compile or print out huge user-visible warnings or something like that, otherwise people can and will use it as-is in production, hard-coded keys and all.

Even if you make it print out a huge message, some manufacturers will just comment that out while keeping all the other dummy example data.

I've seen several production OAuth/OpenID servers that accepted an app ID and secret from a "how to set up an OAuth server" tutorial, and in one case the company was using that app ID for all their production services.

[-] Ransack@lemmy.dbzer0.com 12 points 3 months ago

That's on the company for paying pennies for their dev and production roles.

this post was submitted on 25 Jul 2024
315 points (99.1% liked)

Technology

59054 readers
3182 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS