Stas(Stanislav) Lebedenko
1 min readOct 31, 2019

--

Hi.

Thanks for the feedback :), DiscoveryDoc is certainly an elegant solution.

But there were several reasons for the decisions I made.

  • The main goal was to avoid any HTTP calls altogether, so the variant with JWKS call is only for next year’s key rotation(modulus is enough).
  • In general, I tend to keep function app dependencies at minimum, so few lines of code don’t hurt.
  • Reference token is also an option, but caching doesn’t help much with short-lived functions on the Consumption plan.

I want to update the article with a reference to your comment if you don't mind.

P.S. I want to measure the difference in function start with and without an HTTP request in the next article :).

--

--

Stas(Stanislav) Lebedenko
Stas(Stanislav) Lebedenko

Written by Stas(Stanislav) Lebedenko

Azure MVP | MCT | Software/Cloud Architect | Dev | https://github.com/staslebedenko | Odesa MS .NET/Azure group | Serverless fan 🙃| IT2School/AtomSpace

No responses yet