#API Authentification
1 messages · Page 1 of 1 (latest)
1 messages · Page 1 of 1 (latest)
Does sapphire have a way to implement authentification to the api routes so that for, example, the api can only be accessed thru the bot dashboard?
Yes, you have to define options.auth.id and options.auth.secret, and then in the route you'll be able to check for request.auth.
thanks 



