输入用户ID和密码时,我无法登录,它显示无效的用户名或密码. [英] I am not able to login, while entering User ID and Password, it shows Invalid User Name Or Password.

查看:153
本文介绍了输入用户ID和密码时,我无法登录,它显示无效的用户名或密码.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在邮递员上成功获得了令牌,但是当我尝试通过前端访问令牌时,出现错误--

无法加载http:/api/Authentication/GetToken:所请求的资源上不存在"Access-Control-Allow-Origin"标头.因此,不允许访问源"http://localhost:1111".响应的HTTP状态代码为401.

解决方案

Ashwini,我假设您使用的是JS和/或Azure?有关身份验证问题,请参见以下链接:

https://stackoverflow.com/questions /38317973/no-access-control-allow-origin-header-with-microsoft-online-auth

解决方案

Hi Ashwini- I assume you're using JS and/or Azure? See the following links for authentication issues:

https://stackoverflow.com/questions/38317973/no-access-control-allow-origin-header-with-microsoft-online-auth

https://pholpar.wordpress.com/2013/05/11/accessing-office-365-sharepoint-sites-using-rest-from-a-local-html-javascript-host/


这篇关于输入用户ID和密码时,我无法登录,它显示无效的用户名或密码.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆