Logging into a Gojek account will require you to have an active phone number so you can receive an OTP or a login link* via SMS. This makes it easier for you to log in to your Gojek account.
However, if you forgot your registered phone number when logging into your Gojek account, please follow the instructions listed in the article on the Help Page: Open Gojek app > Login > click icon (?) to direct to Help Page > select “I can’t login” category > select “I forgot my phone number” article.