'Using Google APIs from user hosted web server application

Is it possible to use google APIs from web server application hosted at users' servers hosted at their own domains accessed by standard web browser? The problem is that google OAauth2.0 authorization requires redirect URL which needs to be registered in developer's consent screen, but I don't see a way how to do this in this case. I was thinking about OOB (out of band) authorization with manual copying of the authorization code, but google announced it is deprecated. Should each user register his installation + domain in Google API console as his own application or is there simpler way?



Sources

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

Source: Stack Overflow

Solution Source