小编sha*_*ark的帖子

Google Meet 有直接的 API 吗?

是否有用于在 Google Meet 中创建新会议的 API?https://meet.google.com/Create new meeting 上有一个按钮,我想使用 API 做类似的事情 我知道可以使用 Google 日历 API 创建会议,但我正在寻找直接用于 Google Meet 的 API,而无需创建日历事件。

[编辑] 它不能解决我的问题,但也许会帮助别人。还可以选择使用https://meet.google.com/lookup/[custom-meeting-name]生成会议,但您需要拥有 Google Workspace(前 GSuite)

google-calendar-api google-api hangout hangouts-api

46
推荐指数
6
解决办法
8万
查看次数

从文件生成 JOOQ 架构

是否可以在没有数据库连接的情况下使用 JOOQ 从 sql 文件生成 Java 类?我尝试指定 inputSchema 标记,但出现异常:

WARNING: SQL exception            : Exception while executing meta query: Cannot execute query. No Connection configured
Run Code Online (Sandbox Code Playgroud)

我的配置如下:

<configuration>
                <generator>
                    <database>
                        <name>org.jooq.util.postgres.PostgresDatabase</name>
                        <inputSchema>filesystem:src/main/resources/schema.sql</inputSchema>
                        <includes>.*</includes>
                        <outputSchemaToDefault>true</outputSchemaToDefault>
                    </database>
                    <target>
                        <packageName>pckg.some</packageName>
                        <directory>target/generated-sources/jooq</directory>
                    </target>
                </generator>
</configuration>
Run Code Online (Sandbox Code Playgroud)

java jooq

5
推荐指数
1
解决办法
2372
查看次数

如何在iframe上使用Auth0登录

我刚刚实现了简单的基于 Angular 的应用程序,并使用 Auth0 按钮登录。当我直接在浏览器上打开它时效果很好。我可以登录成功。我的目标是使用 iframe(作为一种小部件)将我的应用程序嵌入到另一个网页中。

\n\n
<div class="css"><iframe src="https://myapp.com"></iframe></div>\n
Run Code Online (Sandbox Code Playgroud)\n\n

登录逻辑如下

\n\n
login(redirectPath: string = \'/\') {\n    this.auth0Client$.subscribe((client: Auth0Client) => {\n      client.loginWithRedirect({\n        redirect_uri: `https://some.now.sh`,\n        appState: {target: redirectPath},\n      });\n    });\n  }\n
Run Code Online (Sandbox Code Playgroud)\n\n

但是在登录过程中我收到错误

\n\n
\n

系统中可能存在配置错误或服务中断。\n 我们会自动跟踪这些错误,但如果问题仍然存在,请随时与我们联系。请再试一次。

\n\n

invalid_request :您可能在登录期间按了后退按钮、刷新了\n、打开了太多登录对话框,或者 cookie 存在一些问题,因为我们无法\xe2\x80\x99 找到您的会话。尝试从应用程序再次登录,如果问题仍然存在,请联系管理员。

\n
\n\n

在网络选项卡上我可以看到

\n\n
\n

https://mycustomname.eu.auth0.com/authorize?xxxx

\n
\n\n

得到 302 的位置信息

\n\n
\n

/u/login?state=g6Fo2xxxxxxx

\n
\n\n

进而

\n\n
\n

https://mycustomname.eu.auth0.com//u/login?state=g6Fo2xxxxxxx

\n
\n\n

返回 400 HTTP 代码。

\n\n

可能出什么问题了?它\xe2\x80\x99s 不可能在 iframe 上使用 Auth0 吗?

\n

single-sign-on auth0 angular

2
推荐指数
1
解决办法
6536
查看次数