Example to Use Admin UI Doesn't Compile
Closed this issue · 3 comments
russoj88 commented
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
The example here does not compile: https://www.ory.sh/docs/kratos/sdk/go#use-admin-api
@vinckr following up from our Slack conversation.
Reproducing the bug
Copy the code and try to compile with go 1.20
Relevant log output
No response
Relevant configuration
No response
Version
v1.1.21
On which operating system are you observing this issue?
Linux
In which environment are you deploying?
Other
Additional Context
No response
vinckr commented
Hello @russoj88
I have since made some updates to the examples.
Can you check again please?
Admin API examples has been moved to here: https://www.ory.sh/docs/kratos/sdk/go#use-identity-management-api
vinckr commented
great :)
FWIW here are more examples: https://github.com/ory/docs/tree/master/code-examples/sdk
(I will add them directly to the sdk examples as well soon, just need to figure out a good testing strategy)