googleworkspace / php-samples

PHP samples for Google Workspace APIs
Apache License 2.0
288 stars 347 forks source link

Redirect URI/domain for plugin #79

Open strarsis opened 3 years ago

strarsis commented 3 years ago

A web server OAuth app has to allow a top-level domain in advance. What however if the app in question is a plugin that can run on any server with any domain? It is not possible to dynamically set the redirect URI as it has to be set by the app in advance. Does the plugin developer have to provide a dedicated page for the redirection, which then redirects back to the user plugin page on their own server and own domain?