News for hackers. Stuff that matters.
Re:Ask HN: How do you handle API-key generation/management f... by martinopp on Friday February 19, 2021 @02:55PM (#26197303)
It depends on the tech stack you are currently using for your SaaS. I would not develop this from scratch. For example: If you are using Laravel for the backend, you can develop this feature "easily" using Laravel Passport (https://laravel.com/docs/8.x/passport)

If you are using Keycloak, the solution might be in this post: https://stackoverflow.com/questions/52230634/issuing-api-key...

Re:Ask HN: How do you handle API-key generation/management f... by runeks on Monday February 22, 2021 @07:09AM (#26223577)
Thank you.

I'm super familiar with the backend, but I know it's written in Node.js and that the current authentication solution uses express and passport with a custom table in the Postgres database.

Re:Ask HN: How do you handle API-key generation/management f... by runeks on Tuesday February 23, 2021 @12:34AM (#26234130)
That should have read “I'm not super familiar with the backend”.