ZOHO Desk OAuth tokens

ZOHO Desk OAuth tokens

Hi,
I have some code that get invoked every day and fetch ZOHO tickets.
This is Working fine using authtokens.

Since this method has been deprecated, I'm trying to change my code and use OAuth tokens instead.

I've followed https://desk.zoho.com/DeskAPIDocument#OauthTokens#RegisteringAClient and created a Self Client (the code runs from a server automatically, no front end).
I've generated the first code following the documentation.

Now I'm stuck, I've tried to make an authorization request (https://desk.zoho.com/DeskAPIDocument#OauthTokens#MakingTheAuthorizationRequest)
but I'm not sure what the redirect_url should be, since this is a Self Client app.

Thanks.