Cannot patch my Ory Network project with a config-file using the Ory CLI
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Inizia riproducendo i due comandi documentati: recupera un progetto con ory get project --format json, quindi passa quel file a ory patch project --file file://config.json. Leggi la gestione dell’argomento --file da parte di Ory CLI e la struttura della richiesta di patch del progetto, quindi confrontale con il JSON recuperato. Il lavoro è completato quando una configurazione recuperata può essere usata con successo per l’operazione di patch documentata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Preflight checklist
- I could not find a solution in the existing issues, docs, nor discussions.
- I agree to follow this project's Code of Conduct.
- I have read and am following this repository's Contribution Guidelines.
- This issue affects my Ory Network project.
- I have joined the Ory Community Slack.
- I am signed up to the Ory Security Patch Newsletter.
Describe the bug
I'm trying to use the Ory CLI to patch my project with a configuration file.
This results in the following error message:
json: cannot unmarshal object into Go value of type []client.JsonPatch
The file I'm feeding into the command is also retrieved using the CLI.
I'm running the following commands:
ory get project <redacted> --format json > config.json
ory patch project <redacted> --file file://config.json
Reproducing the bug
ory get project <redacted> --format json > config.json
ory patch project <redacted> --file file://config.json
Relevant log output
json: cannot unmarshal object into Go value of type []client.JsonPatch
Relevant configuration
No response
Version
Ory Network
On which operating system are you observing this issue?
Ory Network
In which environment are you deploying?
Ory Network
Additional Context
No response
- Lingua principale
- Shell
- Stelle
- 96
- Fork
- 8
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ory/network
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
-
Updating native registration flow with OIDC ID token for existing identity returns breaking responseApertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Ory Account Experience (hosted UI) registration trait setup via creation of registration flowApertafeat
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
selfservice.flows.login.style reverts to identifier_first despite explicitly setting passwordApertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
-
feat
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
Issue simili
-
Update cliamp to 2.3.0Apertapackage-update
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
oSoWoSo/vOid_Community_repOsitory#203 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] v-quick-install-app install crashes with ValueError if no supported PHP version is installedAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
chore
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
alunduil/alunduil-chezmoi#809 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
catppuccin/kde#152 ·