简体   繁体   English

如何使用PHP验证Azure ad b2c令牌?

[英]How to validate Azure ad b2c token using PHP?

I'm creating Azure ad b2c login. 我正在创建Azure ad b2c登录。 After I login from it they give us a token(key). 从我登录后,他们会给我们一个令牌(密钥)。 I need to know how to validate that token and how to get that token from server. 我需要知道如何验证令牌以及如何从服务器获取令牌。

This article describes the steps: https://github.com/Azure-Samples/active-directory-b2c-php-webapp-openidconnect/blob/master/README.md 本文介绍了以下步骤: https : //github.com/Azure-Samples/active-directory-b2c-php-webapp-openidconnect/blob/master/README.md

You don't need to call the server, the id_token can be validated on your own system 您无需调用服务器,可以在您自己的系统上验证id_token

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM