【问题标题】:How to configure wild card or custom domains in redirect uri in google OAuth 2.0如何在 google OAuth 2.0 中的重定向 uri 中配置通配符或自定义域
【发布时间】:2020-11-09 18:49:52
【问题描述】:

我正在使用 Google API 将用于上传/下载/获取/创建文件和文件夹功能的谷歌驱动器与 C# Web API 2.0 集成。 我想在重定向 uri 中配置通配符或自定义域,因为我的应用程序支持每个客户的自定义域。每次客户注册我的应用程序时,他们都可以生成自己的自定义域,例如:-

客户 1 申请网址:https://abc-myapplication.com 客户 2 申请网址:https://xyz-myapplication.com

如何动态添加重定向 uri 或添加通配符重定向 uri,如 https://*-myapplication.com

enter image description here

【问题讨论】:

标签: c# google-drive-api custom-domain


【解决方案1】:

您只能在 wildacrds 中将 * 用于子域。 因此,如果是“my-*-example.mydomain.com”,您可以这样做。

请查看google article

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-12-10
    • 2012-10-29
    • 2021-12-10
    • 2014-04-30
    • 1970-01-01
    • 2012-07-05
    • 2013-09-15
    • 1970-01-01
    相关资源
    最近更新 更多