In config.js, You put your public key in `authorized_keys` array. After restart, bostr will only allow users in `authorized_keys` to use the bouncer.
However, You need to ensure that NIP-42 is supported in your client. Otherwise the bouncer will not doing anything for you during authentication.
Additionally, You could enable internal NIP-42 for NIP-42 relays for your own use by inserting public & private key in `private_keys`.
Login to reply
Replies (2)
It works when left authorized -keys empty, but Every time I added key to authorized_keys, seems it doesn’t work.🤔️
Did your client supports NIP-42? I've tested this funcion in #Amethyst client.