'How to request Auth Code for Google Cloud Storage via APIs [NOT playgroud]

I am trying to get the Auth-Code of Google Cloud Storage by hitting the below URL. But it shows 404 page not found.

https://accounts.google.com/o/oauth2/auth/?client_id={MyClientID}&response_type=code&response_mode=form_post&redirect_uri={MyRedirectURI}&scope=https://www.googleapis.com/auth/devstorage.full_control&state=12345&prompt=consent

enter image description here

What is the correct URL format to get Auth code and the prompt for the consent window?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source