authentik.enterprise.endpoints.connectors.agent.views.apple_jwks
1from django.http import Http404 2 3from authentik.crypto.apps import MANAGED_KEY 4from authentik.crypto.models import CertificateKeyPair 5from authentik.providers.oauth2.views.jwks import JWKSView 6 7 8class AppleJWKSView(JWKSView): 9 10 def get_keys(self): 11 kp = CertificateKeyPair.objects.filter(managed=MANAGED_KEY).first() 12 if not kp: 13 raise Http404 14 yield self.get_jwk_for_key(kp, "sig")
9class AppleJWKSView(JWKSView): 10 11 def get_keys(self): 12 kp = CertificateKeyPair.objects.filter(managed=MANAGED_KEY).first() 13 if not kp: 14 raise Http404 15 yield self.get_jwk_for_key(kp, "sig")
Show RSA Key data for Provider