Tychobra / polished

Authentication and Administration for Shiny apps
https://polished.tech
Other
234 stars 36 forks source link

added the check for api_key #165

Closed muschellij2 closed 2 years ago

muschellij2 commented 2 years ago

Need this because otherwise api_key is NA, which is not correct.

merlinoa commented 2 years ago

rather than set it to NA, we are now throwing an error if you call get_api_key() and your api key is not set. I think this is best approach because it will immediately stop the display an appropriate error message if the api key is not set. The user should not be able to run polished if their API key is not set.