KO
|
EN
gitlite — search
Search
#typescript
#ai-agents
#ai
#dsh-plugin
#deepseek-harness
#open-source
#cli
#claude-code
#codex
#developer-tools
#react
#windows
go-kratos-test
★ 70
Open GitHub ↗
No description available.
Download README (.md)
Explore Similar Repositories
go-grpc-layout
:
⭐️ 基于go-kratos + gin框架实现的微服务项目模板
kratos-monolithic-demo
:
golang kratos monolithic demo
fries
:
🚀 Go ecosystem components, such as: Gin, Kratos, Chi, Event, CloudEvents, AMQP, etc. 🌟
kratos-selfservice-ui-go
:
ORY Kratos Self-Service UI written in golang 1.16
go-kratos-demos
:
go-kratos demo
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
go-kratos-test
?
Download (.md)
# Ory Hydra/Kratos Integration in Go ## Getting Started - Startup the containers with the following command: ```shell docker-compose up -d --build ``` - After confirming that all the containers are healthy and running, create an OAuth client with the following command: ```shell curl -X POST 'http://localhost:4445/admin/clients' \ -H 'Content-Type: application/json' \ --data-raw '{ "client_name": "Test OAuth2 Client", "client_secret": "secret", "grant_types": ["authorization_code", "refresh_token"], "redirect_uris": ["http://localhost:4455/dashboard"], "post_logout_redirect_uris": ["http://localhost:4455/login"], "response_types": ["code", "id_token"], "scope": "openid offline", "token_endpoint_auth_method": "client_secret_post" }' && \ docker exec -it hydra-db psql -U hydra -c "UPDATE hydra_client SET id = 'auth-code-client' WHERE client_name = 'Test OAuth2 Client'" ``` - Open [localhost:4455/login](http://localhost:4455/login) in your browser. - Register a new account and verify the email address by opening [localhost:4436](http://localhost:4436) in your browser. - You can now successfully login! ## Ory Hydra/Kratos Integration Flow 