nextcloud / nextcloud/user_oidc
Allow providing Group Provisioning via `occ user_oidc:provider`
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 181
- Forks
- 60
- Avg merge
- 7h 34m
- Merged PRs (30d)
- 26
Description
Currently it can be set via occ config:app:set, but that's bulky and requires you to know the auto-generated ID of your provider. If it could be set via user_oidc:provider, like most of the other options can be, it would make setting up OIDC Providers much more convenient.
For what it's worth, if people are looking for an automated solution to getting the ID from a given provider name:
PROVIDER_NAME=Authelia
PROVIDER_ID=$(./occ user_oidc:provider --output json "$PROVIDER_NAME" | python -c 'import json; p = json.loads(input()); print(p["id"])')
./occ \
config:app:set \
user_oidc \
"provider-${PROVIDER_ID}-groupProvisioning" \
--value 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the occ user_oidc:provider command and compare its existing options with the config:app:set path for provider-${PROVIDER_ID}-groupProvisioning. The change is done when group provisioning can be set through user_oidc:provider using a provider name, with behavior equivalent to the current configuration command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- authentication, cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100