Skip to content

Commit

Permalink
feat: upgrade dependencies to sentry 24.8.0, now uses github directly…
Browse files Browse the repository at this point in the history
… instead of pypi cause of yanking
  • Loading branch information
theexiile1305 committed Aug 19, 2024
1 parent 9f76082 commit 40c8ee4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 37 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/publish.yml

This file was deleted.

13 changes: 5 additions & 8 deletions oidc/views.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
import logging
import requests
import time

from sentry.auth.view import AuthView, ConfigureView
from sentry.utils import json
from sentry.utils.signing import urlsafe_b64decode
from .constants import (
USERINFO_ENDPOINT,
)
import requests
from sentry.auth.view import AuthView

from .constants import ERR_INVALID_RESPONSE, ISSUER
from .constants import (USERINFO_ENDPOINT)

logger = logging.getLogger("sentry.auth.oidc")

Expand Down Expand Up @@ -60,7 +57,7 @@ def dispatch(self, request, helper):
return helper.next_step()


class OIDCConfigureView(ConfigureView):
class OIDCConfigureView(AuthView):
def dispatch(self, request, organization, auth_provider):
config = auth_provider.config
if config.get("domain"):
Expand Down
6 changes: 3 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "sentry-auth-oidc-shib"
version = "2.0.0"
version = "3.0.0"
description = "OpenID Connect authentication provider for Sentry (Shibboleth)"
authors = ["Michael Fuchs <michael.fuchs@hm.edu>"]
license = "Apache 2.0"
Expand All @@ -16,8 +16,7 @@ packages = [
]

[tool.poetry.dependencies]
python = ">=3.8.1"

python = ">=3.11.8"

[tool.poetry.plugins."sentry.apps"]
"oidc" = "oidc.apps.Config"
Expand Down

0 comments on commit 40c8ee4

Please sign in to comment.