I have the flat Json string produced by my aspx webpage..
[{"UserName":"ABENS"},{"UserName":"AILPAL"},{"UserName":"ANDREW.GUILLERMO"}.....(so on so forth)]
Run Code Online (Sandbox Code Playgroud)
I have declared the following html..
<table id="tblUserAccountsManagement" class="display" cellspacing="0">
<thead>
<tr>
<th>UserName</th>
</tr>
</thead>
</table>
Run Code Online (Sandbox Code Playgroud)
I have the following Jquery...
$(document).ready(function () {
var tbl = $('#tblUserAccountsManagement').DataTable({
"ajax": {
"url": "AccountsManagementJSON.aspx",
"dataSrc": ""
},
"columns": [
{ "data": 'UserName' }
],
autofill: true,
select: true,
responsive: true,
buttons: true,
length: 10,
});
});
Run Code Online (Sandbox Code Playgroud)
Why does it still output the error?
Requested unknown parameter '0' …
我们有以下 Azure AD B2C 应用程序(我们将其称为aadb2c),具有以下设置
Include web app/ web API: YES
Allow Implicit Flow: YES
Reply Url:
- https://localhost:44339/
- https://productionURL.com
- https://productionURL.com/
App ID URI (which is optional): none
Native CLient: NO
Run Code Online (Sandbox Code Playgroud)
我们的网站使用此应用程序https://productionURL.com通过 azure AD B2C 登录其用户。
然而,在生产中我们不断收到错误:
The redirect URI 'productionURL.com' provided in the request is not registered for the client id 'aadb2c'
据此,我们应该添加到回复网址的链接。但正如您在上面看到的,我们已经包含https://productionURL.com在 Azure AD B2C 刀片的“回复 URL”部分中。
什么可能导致此错误发生?我们如何解决重定向 URI 请求未注册错误?
是否可以重写URL而无需通过jQuery/Javascript重新加载页面?
假设您有以下网址:
http://stackoverflow.com/questions/ask
我们可以追加价值: /pId=XYZ
所以你可以得到
http://stackoverflow.com/questions/ask/pId=XYZ
这可能吗?
javascript ×2
jquery ×2
asp.net ×1
azure ×1
azure-ad-b2c ×1
client-side ×1
datatables ×1
url ×1
webforms ×1