让我们说用户提示获得A,B,C的许可并拒绝B.登录失败但是当我尝试再次登录时,不显示我可以接受或撤销权限的对话,而是显示消息"您已经授权应用名称"显示,许可B仍然被拒绝。
我使用此代码执行Facebook登录:
设置代码:
SELECT
facility_section,
(SELECT COUNT(*) FROM tbl_B WHERE issued_to = 4551) AS assigned_no
FROM tbl_A
WHERE id = 4551
登录代码:
SELECT
a.id,
a.facility_section,
COUNT(*)
FROM tbl_A AS a
INNER JOIN tbl_B AS b
ON a.id = b.issued_to
GROUP BY a.id, a.facility_section
我尝试再次请求所有权限,仅针对已撤销的权限,执行// seems the line firmaer.Where(x => x.CVR_nummer == user.UserName).FirstOrDefault() is returning null or no match found
// you can try this. i guess FirmA is the model class
model.FirmaNavn = (firmaer.Where(x => x.CVR_nummer == user.UserName).FirstOrDefault() ?? new FirmA(){firma_navn="Missing"}).firma_navn;
以清除会话但似乎没有任何工作......
一旦仅使用Facebook应用程序或网站撤销再次恢复它们
我怎么解决这个问题?
ps:这个问题与this one相同,但解决方案在我的情况下并不起作用,我也尝试过。