NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
▲What we learned operating auth for 1k APIs (nango.dev)
cryptonector 3 hours ago [-]
Even `expires_in` requires care. The token expires in 3600s, but, from when? In the token there will be an `exp` with an absolute value, but `expires_in` in the envelope is relative -- relative to when? Relative to whenever the issuer issued the token, so relative to `iat`/`exp`. But you don't want to have to extract that from the token, and you won't get to if the token is encrypted, so the best you can do is add `expires_in` to now, but it has to be a clock value from before you send the request.
gnabgib 8 hours ago [-]
900 (2 points, 3 months ago) https://news.ycombinator.com/item?id=49258375

100 (99 points, 7 months ago, 26 comments) https://news.ycombinator.com/item?id=47579818

cr125rider 7 hours ago [-]
Did they learn anything new in between?
6 minutes ago [-]
jzelinskie 5 hours ago [-]
Friendly reminder for folks to distinguish between authN and authZ (or better yet use the terms "identity"/"login" and "permissions").

This article's title could've used it to give the reader a much better impression of the subject matter.

Propelloni 17 minutes ago [-]
We used to call this "authentication" and "authorization". Both are (were?) well known concepts in IAM. AuthN and AuthZ seems to be something people came up with to have a new name or for what? I'm really getting too old for this.
cpursley 2 hours ago [-]
Nango is a nice product. For folks in the Elixir ecosystem, here’s a drop in library that is compatible with their provider library for the oauth management side of things: https://github.com/agoodway/tango
manfred_singer 3 hours ago [-]
[flagged]
VNGroundTruth 3 hours ago [-]
[flagged]
nora_harcourt 3 hours ago [-]
[flagged]
dean_draeger 3 hours ago [-]
[flagged]
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 08:56:10 GMT+0000 (Coordinated Universal Time) with Vercel.