mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-14 20:08:02 +00:00
19 lines
571 B
Go
19 lines
571 B
Go
|
package management
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
mgmt_pb "github.com/caos/zitadel/pkg/grpc/management"
|
||
|
)
|
||
|
|
||
|
func (s *Server) Healthz(context.Context, *mgmt_pb.HealthzRequest) (*mgmt_pb.HealthzResponse, error) {
|
||
|
return &mgmt_pb.HealthzResponse{}, nil
|
||
|
}
|
||
|
|
||
|
func (s *Server) GetOIDCInformation(ctx context.Context, req *mgmt_pb.GetOIDCInformationRequest) (*mgmt_pb.GetOIDCInformationResponse, error) {
|
||
|
return &mgmt_pb.GetOIDCInformationResponse{
|
||
|
Issuer: s.systemDefaults.ZitadelDocs.Issuer,
|
||
|
DiscoveryEndpoint: s.systemDefaults.ZitadelDocs.DiscoveryEndpoint,
|
||
|
}, nil
|
||
|
}
|