Integration with nextcloud #10

Closed
opened 2025-01-01 06:02:43 +00:00 by ammaratef45 · 2 comments
Owner

I followed the documentation in https://git.coopcloud.tech/coop-cloud/authentik.git#add-sso-for-nextcloud and https://git.coopcloud.tech/coop-cloud/nextcloud#authentik-integration but that didn't result in creating the application on authentik side

Are there more steps to it than just that? any ideas what is an approach to debugging it otherwise?

I followed the documentation in https://git.coopcloud.tech/coop-cloud/authentik.git#add-sso-for-nextcloud and https://git.coopcloud.tech/coop-cloud/nextcloud#authentik-integration but that didn't result in creating the application on authentik side Are there more steps to it than just that? any ideas what is an approach to debugging it otherwise?
Author
Owner

ran abra app run <app> worker bash then ak apply_blueprint nextcloud.yaml

Got this error

Blueprint invalid
	authentik.blueprints.v1.importer: Entry invalid: Serializer errors {'redirect_uris': [ErrorDetail(string='This field is required.', code='required')]}: {'entry': {'model': 'authentik_providers_oauth2.oauth2provider', 'state': 'present', 'conditions': [], 'identifiers': {'pk': 9999}, 'attrs': {'access_code_validity': 'minutes=1', 'authentication_flow': '<authentik.blueprints.v1.common.Find object at 0x7048b32c7f20>', 'authorization_flow': '<authentik.blueprints.v1.common.Find object at 0x7048b32ca900>', 'invalidation_flow': '<authentik.blueprints.v1.common.Find object at 0x7048b32cacc0>', 'client_id': 'luckily-latrine-evaluate-asparagus-tiling-voyage', 'client_secret': 'blazer-charbroil-mutual-crowbar-unstuck-sandworm', 'client_type': 'confidential', 'include_claims_in_id_token': True, 'issuer_mode': 'per_provider', 'name': 'Nextcloud', 'property_mappings': ['<authentik.blueprints.v1.common.Find object at 0x7048b32ca8a0>', '<authentik.blueprints.v1.common.Find object at 0x7048b32ca210>', '<authentik.blueprints.v1.common.Find object at 0x7048b32ca000>', '<authentik.blueprints.v1.common.KeyOf object at 0x7048b32caa50>'], 'signing_key': '<authentik.blueprints.v1.common.Find object at 0x7048b32ca1b0>', 'sub_mode': 'user_username', 'token_validity': 'days=30'}, 'permissions': [], 'id': 'nextcloud_provider', '_state': {'instance': None}}, 'error': "Serializer errors {'redirect_uris': [ErrorDetail(string='This field is required.', code='required')]}", 'schema_name': 'public', 'domain_url': None}
	authentik.blueprints.v1.importer: Blueprint validation failed: {'schema_name': 'public', 'domain_url': None}
ran `abra app run <app> worker bash` then `ak apply_blueprint nextcloud.yaml` Got this error ``` Blueprint invalid authentik.blueprints.v1.importer: Entry invalid: Serializer errors {'redirect_uris': [ErrorDetail(string='This field is required.', code='required')]}: {'entry': {'model': 'authentik_providers_oauth2.oauth2provider', 'state': 'present', 'conditions': [], 'identifiers': {'pk': 9999}, 'attrs': {'access_code_validity': 'minutes=1', 'authentication_flow': '<authentik.blueprints.v1.common.Find object at 0x7048b32c7f20>', 'authorization_flow': '<authentik.blueprints.v1.common.Find object at 0x7048b32ca900>', 'invalidation_flow': '<authentik.blueprints.v1.common.Find object at 0x7048b32cacc0>', 'client_id': 'luckily-latrine-evaluate-asparagus-tiling-voyage', 'client_secret': 'blazer-charbroil-mutual-crowbar-unstuck-sandworm', 'client_type': 'confidential', 'include_claims_in_id_token': True, 'issuer_mode': 'per_provider', 'name': 'Nextcloud', 'property_mappings': ['<authentik.blueprints.v1.common.Find object at 0x7048b32ca8a0>', '<authentik.blueprints.v1.common.Find object at 0x7048b32ca210>', '<authentik.blueprints.v1.common.Find object at 0x7048b32ca000>', '<authentik.blueprints.v1.common.KeyOf object at 0x7048b32caa50>'], 'signing_key': '<authentik.blueprints.v1.common.Find object at 0x7048b32ca1b0>', 'sub_mode': 'user_username', 'token_validity': 'days=30'}, 'permissions': [], 'id': 'nextcloud_provider', '_state': {'instance': None}}, 'error': "Serializer errors {'redirect_uris': [ErrorDetail(string='This field is required.', code='required')]}", 'schema_name': 'public', 'domain_url': None} authentik.blueprints.v1.importer: Blueprint validation failed: {'schema_name': 'public', 'domain_url': None} ```
Owner

already fixed by bc62831e58

already fixed by https://git.coopcloud.tech/coop-cloud/authentik/commit/bc62831e58a2c7521db14b9601727216292d19e9
Sign in to join this conversation.
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: coop-cloud/authentik#10
No description provided.