Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
fary-sso-proxy
Advanced tools
A fary/koa2 based middleware for sso proxy.
It is a dev tool with which you can login a sso server through a simple ajax.
The sso server is based on Apereo CAS
You'd better not use it in production, but use standard SSO process instead.
npm i fary-sso-proxy
const createApp = require('fary');
const farySSOProxy = require('fary-sso-proxy');
createApp({
middlewares: [
farySSOProxy({
authUrl: 'http://${casServerHost}?service=http://${businessServerHost}/${servicePath}',
method: 'POST',
path: '/api/dev-helper/sso',
parseResult: () => ({}),
})
]
})
Note: this middleware only works directly in Node 7.6+(async/await), or you can use babel to transform the source code.
authUrl
: the sso authorization urlmethod?
: default POST
; the request methodpath?
: default /api/dev-helper/sso
; the request pathparseResult?
: default () => ({})
; the parser to restructure the response data to your clientFAQs
project description
The npm package fary-sso-proxy receives a total of 0 weekly downloads. As such, fary-sso-proxy popularity was classified as not popular.
We found that fary-sso-proxy 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.