Add initial setup of main
This commit is contained in:
@@ -12,15 +12,17 @@ import (
|
|||||||
|
|
||||||
const OpenIdConnectPath = "/auth/openid-connect"
|
const OpenIdConnectPath = "/auth/openid-connect"
|
||||||
|
|
||||||
|
type KeycloakEnvClient struct {
|
||||||
|
ClientId string
|
||||||
|
ClientSecret string
|
||||||
|
DiscoveryUrl string
|
||||||
|
}
|
||||||
|
|
||||||
type KeycloakEnv struct {
|
type KeycloakEnv struct {
|
||||||
SessionSecret string
|
SessionSecret string
|
||||||
BaseUrl string
|
BaseUrl string
|
||||||
SessionName string
|
SessionName string
|
||||||
Keycloak struct {
|
Keycloak KeycloakEnvClient
|
||||||
CLientId string
|
|
||||||
ClientSecret string
|
|
||||||
DiscoveryUrl string
|
|
||||||
}
|
|
||||||
EmailSessionKey string
|
EmailSessionKey string
|
||||||
UserIdSessionKey string
|
UserIdSessionKey string
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user