Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
yapi-plugin-psso
Advanced tools
Readme
第三方sso登录插件,配置方法如下:
第一步: 在生成的配置文件config.json中加入如下配置:
"plugins": [
{
"name": "psso",
"options": {
"type": "sso",
"loginUrl": "http://sso.example.com/service/verifytoken.php?token=",
"AUTH_SERVER" : "https://sso.example.com/login.php"
}
}
]
配置项含义如下:
type
登陆类型,目前只支持sso登陆loginUrl
服务端在获取token之后,可以通过这个url来获取用户的详细信息,返回体示例如下:{
"data": {
"username": 'test',
"mail": 'test@test.com'
}
}
AUTH_SERVER
点击登陆按钮式需要跳转的url,用户通过该页面登录以后会向服务器发送一个token第二步:在config.json 这层目录下运行 yapi plugin --name yapi-plugin-psso
重新下载插件
第三步: 重启服务器
FAQs
第三方sso登录插件,配置方法如下:
The npm package yapi-plugin-psso receives a total of 1 weekly downloads. As such, yapi-plugin-psso popularity was classified as not popular.
We found that yapi-plugin-psso demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.