--- apiVersion: v1 kind: ConfigMap metadata: name: authentik-blueprints-rancher namespace: authentik labels: goauthentik.io/blueprint: "true" data: rancher.yaml: |- # yaml-language-server: $schema=https://goauthentik.io/blueprints/schema.json version: 1 metadata: name: rancher-oidc entries: - model: authentik_providers_oauth2.oauth2provider id: rancher-provider state: present identifiers: name: Rancher attrs: name: Rancher client_id: 94a6beeaa91d0d0407cf8af807e8208a611cf3f25ae42161e697a8dccd563449 client_secret: 19ebd4545ba74a93c220d4471af634302c5991204cf650cabd522b0864d7617ded2c59b470ab6de7a5801e7de4c84e4b9741b983170815419c9503d55f849794 authorization_flow: !Find [authentik_flows.flow, [slug, default-provider-authorization-implicit-consent]] authentication_flow: !Find [authentik_flows.flow, [slug, default-authentication-flow]] invalidation_flow: !Find [authentik_flows.flow, [slug, default-provider-invalidation-flow]] redirect_uris: - url: "https://rancher.kube.huskypup.net/verify-auth" matching_mode: strict - url: "https://rancher.kube.huskypup.net" matching_mode: strict enabled: true property_mappings: - !Find [authentik_providers_oauth2.scopemapping, [scope_name, openid]] - !Find [authentik_providers_oauth2.scopemapping, [scope_name, email]] - !Find [authentik_providers_oauth2.scopemapping, [scope_name, profile]] client_type: confidential access_code_validity: "minutes=10" access_token_validity: "hours=1" refresh_token_validity: "days=30" signing_key: !Find [authentik_crypto.certificatekeypair, [name, "authentik Internal JWT Certificate"]] - model: authentik_core.application id: rancher-application state: present identifiers: slug: rancher attrs: name: Rancher slug: rancher policy_engine_mode: any provider: !KeyOf rancher-provider