简体   繁体   English

二维码过期了? 带有 azure 可验证凭证

[英]QR Code Got Expire ? with azure verifiable credential

I used "https://verifiedid.did.msidentity.com/v1.0/verifiableCredentials/createIssuanceRequest" api to generate my QR Code Response is我使用“https://verifiedid.did.msidentity.com/v1.0/verifiableCredentials/createIssuanceRequest”api 生成我的二维码响应是

{ {
"requestId": "799f23ea-5241-45af-99ad-cf8e5018814e", "requestId": "799f23ea-5241-45af-99ad-cf8e5018814e",
"url": "openid://vc?request_uri=https://verifiedid.did.msidentity.com/v1.0/12345678-0000-0000-0000-000000000000/verifiableCredentials/request/178319f7-20be-4945-80fb-7d52d47ae82e", “url”:“openid://vc?request_uri=https://verifiedid.did.msidentity.com/v1.0/12345678-0000-0000-0000-000000000000/verifiableCredentials/request/178319f7-20be-4945-80fb -7d52d47ae82e",
"expiry": 1622227690, “到期”:1622227690,
"qrCode": "data:image/png;base64,iVBORw0KggoA" "qrCode": "数据:图像/png;base64,iVBORw0KggoA"
} }

but the issue is my QRcode get expire in 5 mins?但问题是我的二维码会在 5 分钟后过期?

any help on this.....对此有任何帮助......

The QR code is only valid for 5 minutes.二维码仅在 5 分钟内有效。 If you want a QR code valid for longer, or even a static QR code, you need to do make the QR code point back to your app where you make the createIssuanceRequest at that point.如果您想要一个有效期更长的 QR 码,甚至是 static QR 码,您需要将 QR 码指向您的应用程序,然后在其中创建 createIssuanceRequest。 The VC+B2C sample has a version of this, but for presentation. VC+B2C 示例有一个版本,但用于演示。 See the -link and -proxy methods https://github.com/Azure-Samples/active-directory-verifiable-credentials-dotnet/blob/main/3-asp-net-core-api-b2c/ApiVerifierController.cs请参阅 -link 和 -proxy 方法https://github.com/Azure-Samples/active-directory-verifiable-credentials-dotnet/blob/main/3-asp-net-core-api-b2c/ApiVerifierController.cs

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure B2C 服务条款流程-存储文本和可合法验证的用户协议 - Azure B2C Terms of Service flow - storing the text and legally verifiable user agreement Azure B2C session 密码重置后不会过期 - Azure B2C session not expire after password reset 如何使用 Azure Active Directory 为外部应用程序设置客户端凭据流 - How to setup the Client Credential Flow for external applications with Azure Active Directory 更新刷新令牌寿命 Azure AD B2C 用户流是否使当前刷新令牌过期 - Does updating the Refresh token life Azure AD B2C User flows expire current Refresh tokens Azure AD-资源所有者凭据流错误无效的用户名或密码 - Azure AD- Resource owner credential flow error Invalid username or password Azure B2C OAuth 客户端凭证流中的访问令牌声明中缺少 Scope - Scope missing in access token claims in Azure B2C OAuth Client credential flow Azure AD B2C - 不支持客户端凭据流。 可用的解决方法? - Azure AD B2C - Client Credential flow not supported . Workarounds Available? 本地化 Azure B2C 错误消息“找不到具有指定凭据的用户”错误消息 - Localize Azure B2C error message 'A user with the specified credential could not be found' error message' 自定义 Azure B2C 注册策略 - 业务逻辑 API 的客户端凭据授权流程 - Custom Azure B2C sign up policy - client credential authorisation flow for business logic API 使用 azure b2c、MFA 和 REST API 时如何重置 MFA 并获得新的 QR - how to reset MFA and get a new QR when using azure b2c, MFA with REST API
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM