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 3 years ago

maelle commented 3 years ago

Any idea what you'll be using for this?

mpadge commented 3 years ago

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

maelle commented 3 years ago

No, I was just curious!

mpadge commented 3 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.