Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write script to link nextcloud SAML auth to authentik #4

Open
3 tasks
pirate opened this issue Jan 21, 2025 · 0 comments
Open
3 tasks

Write script to link nextcloud SAML auth to authentik #4

pirate opened this issue Jan 21, 2025 · 0 comments
Assignees

Comments

@pirate
Copy link
Member

pirate commented Jan 21, 2025

When all the containers first come up, there are in an empty clean slate state.

Please write a script that creates whatever config files & db records are needed to point Nextcloud to Authentik for authentication.

The script should live in either nextcloud/bin/link_to_authentik.sh and/or authentik/bin/link_to_nextcloud, whatever you think is best. The script should take the following inputs as environment variables:

  • COMPANY_NAME=SelfHostYourTech
  • COMPANY_DOMAIN=selfhostyour.tech
  • ADMIN_USERNAME=admin
  • ADMIN_PASSWORD=<random if not provided>

It should programatically perform the steps described here on the Nextcloud side and the Authentik side:

Use these powers wisely.


Subtasks

  • Make sure ./authentik/docker-compose.yml works to spin up a fresh empty autentik server
  • Make sure ./nextcloud/docker-compose.yml works to spin up a fresh empty Nextcloud server with the
  • Make sure you can access the REST APIs / endpoints / filesystems of both as needed to automate the setup process
@pirate pirate self-assigned this Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant