-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Hi 嗨。 @RicardoBrito1938, regarding your question you want to check the official Zitadel docs on how to create an API application: https://zitadel.com/docs/guides/manage/console/applications#api with (Private Key) JWT.,关于您的问题,您想查看有关如何创建API应用程序的官方Zitadel文档:https://zitadel.com/docs/guides/manage/console/applications#api使用(私钥)JWT。 Within your application, you want to create a key file. The key file contains the following JSON:在您的应用程序中,您希望创建一个密钥文件。密钥文件包含以下JSON:
{
"type": "application",
"keyId": "81693565968962154",
"key": "-----BEGIN RSA PRIVATE KEY-----...-----END RSA PRIVATE KEY-----",
"clientId": "78366401571920522@acme",
"appId": "78366403256846242"
}
and you have to set the env vars as follows:您必须按如下方式设置环境变量:IDP_AUTHORIZATION_TYPE='jwt-profile' // this one is hardcoded basically
IDP_AUTHORIZATION_PROFILE_KEY_ID='keyId'
IDP_AUTHORIZATION_PROFILE_KEY='key'
IDP_AUTHORIZATION_PROFILE_APP_ID='appId'
IDP_AUTHORIZATION_PROFILE_CLIENT_ID='clientId'
IDP_AUTHORIZATION_PROFILE_TYPE='type'
HTH! Please reopen if something is unclear.HTH!如果有不清楚的地方,请重新打开。Very helpful guide. Would you please post the example to the
README.mdto help others?
Originally posted by @AnonymousArthur in #67