Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
@luigi-project/plugin-auth-oauth2
Advanced tools
OAuth2 implicit grant provider plugin for @luigi-project/core
This project contains a library that allows your application to extend the Luigi framework with an OAuth2 authorization provider. Further configuration details can be found in the main documentation.
Install the plugin in your project using npm:
npm install @luigi-project/plugin-auth-oauth2
Import the plugin in places where you want to use it, depending on the environment of your choice:
var oAuth2ImplicitGrant = require('@luigi-project/plugin-auth-oauth2');
or
import oAuth2ImplicitGrant from '@luigi-project/plugin-auth-oauth2';
Then, integrate it as an authorization provider in your Luigi configuration file:
Luigi.setConfig({
auth: {
use: 'myProviderConfig',
myProviderConfig: {
idpProvider: oAuth2ImplicitGrant,
// ... configuration data comes here
redirect_uri: '/assets/auth-oauth2/callback.html'
}
}
})
The callback.html
needs to be copied to a folder in your Luigi Core installation, which is the return path for the IdP provider, configured through the redirect_uri
setting. The default location of redirect_uri
is /assets/auth-oauth2/callback.html
.
const CopyWebpackPlugin = require('copy-webpack-plugin');
{
plugins: [
new CopyWebpackPlugin([{
from: 'node_modules/@luigi-project/plugin-auth-oauth2/callback.html',
to: 'src/assets/auth-oauth2'
}])
]
}
FAQs
OAuth2 implicit grant provider plugin for @luigi-project/core
The npm package @luigi-project/plugin-auth-oauth2 receives a total of 370 weekly downloads. As such, @luigi-project/plugin-auth-oauth2 popularity was classified as not popular.
We found that @luigi-project/plugin-auth-oauth2 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.