Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
An SSO provider for Sentry which enables OpenID Connect <http://openid.net/connect/>
_ Apps authentication.
This is a fork of sentry-auth-google <https://github.com/getsentry/sentry-auth-google/>
_.
The maintainer has different ideas with sentry-auth-google. See:
::
$ pip install sentry-auth-oidc
Start by creating a project in the Google Developers Console <https://console.developers.google.com>
_.
In the Authorized redirect URIs add the SSO endpoint for your installation::
https://sentry.example.com/auth/sso/
Naturally other providers, that are supporting OpenID-Connect can also be used (like GitLab).
Finally, obtain the API keys and the well-known account URL and plug them into your sentry.conf.py
:
.. code-block:: python
OIDC_CLIENT_ID = ""
OIDC_CLIENT_SECRET = ""
OIDC_SCOPE = "openid email"
OIDC_DOMAIN = "https://accounts.google.com" # e.g. for Google
The OIDC_DOMAIN
defines where the OIDC configuration is going to be pulled from.
Basically it specifies the OIDC server and adds the path .well-known/openid-configuration
to it.
That's where different endpoint paths can be found.
Detailed information can be found in the ProviderConfig <https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderConfig>
_ specification.
You can also define OIDC_ISSUER
to change the default provider name in the UI, even when the OIDC_DOMAIN
is set.
If your provider doesn't support the OIDC_DOMAIN
, then you have to set these
required endpoints by yourself (autorization_endpoint, token_endpoint, userinfo_endpoint, issuer).
.. code-block:: python
OIDC_AUTHORIZATION_ENDPOINT = "https://accounts.google.com/o/oauth2/v2/auth" # e.g. for Google
OIDC_TOKEN_ENDPOINT = "https://www.googleapis.com/oauth2/v4/token" # e.g. for Google
OIDC_USERINFO_ENDPOINT = "https://www.googleapis.com/oauth2/v3/userinfo" # e.g. for Google
OIDC_ISSUER = "Google"
FAQ
- If you are using macOS brew's openssl and you get a psycopg build error such as:
::
ld: library not found for -lssl
Please setup the following environment variables:
.. code-block:: bash
export LDFLAGS="-L/usr/local/opt/openssl/lib"
export CPPFLAGS="-I/usr/local/opt/openssl/include"
FAQs
OpenID Connect authentication provider for Sentry
We found that sentry-auth-oidc demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.