Adding a login page possible?
-
wrote on Feb 27, 2023, 7:27 PM last edited by humptydumpty Feb 27, 2023, 7:28 PM
I'm not in favor of having the app accessible to the public. Is it possible to lock down the app somehow?
-
I'm not in favor of having the app accessible to the public. Is it possible to lock down the app somehow?
@humptydumpty yes, see https://docs.cloudron.io/apps/languagetool/#security .
Note that the UI is always public, there is no way around this. After protecting the API path, the UI won't do anything i.e cannot translated.
-
@humptydumpty yes, see https://docs.cloudron.io/apps/languagetool/#security .
Note that the UI is always public, there is no way around this. After protecting the API path, the UI won't do anything i.e cannot translated.
wrote on Feb 28, 2023, 2:27 PM last edited by@girish
thanks!!
-
-
-
@humptydumpty yes, see https://docs.cloudron.io/apps/languagetool/#security .
Note that the UI is always public, there is no way around this. After protecting the API path, the UI won't do anything i.e cannot translated.
wrote on Mar 1, 2023, 6:05 AM last edited by@girish said in Adding a login page possible?:
@humptydumpty yes, see https://docs.cloudron.io/apps/languagetool/#security .
Note that the UI is always public, there is no way around this. After protecting the API path, the UI won't do anything i.e cannot translated.
I guess you meant to link to https://docs.cloudron.io/apps/libretranslate/
-
Oh indeed, my entire answer is wrong (thanks @necrevistonnezr ).
You have to set
LT_REQUIRE_API_KEY_ORIGIN=true
in the configs - https://docs.cloudron.io/apps/libretranslate/#api .