ropensci-review-tools / roreviewapi

API endpoint for package reviews via ropensci-review-bot
https://docs.ropensci.org/roreviewapi
4 stars 1 forks source link

Authentication #15

Open mpadge opened 2 years ago

maelle commented 2 years ago

Any idea what you'll be using for this?

mpadge commented 2 years ago

Initial one will simply be via a message header in the plumber call, unless you've got any better suggestions?

maelle commented 2 years ago

No, I was just curious!

mpadge commented 2 years ago

"Official" statement from Jeff Allen via this SO question suggests that it's not directly possible in plumber. It has to be done with nginx, for OAUTH2 via nginx-openid-connect. There are some useful examples here.