Open justmike1 opened 1 year ago
Hi,
You can define logout redirect URIs with Client.Attributes, eg:
clientID := "exampleclient"
c := &gocloak.Client{
ClientID: &clientID,
}
logoutURIs := []string{"/logout", "/example"}
attr := make(map[string]string)
attr["post.logout.redirect.uris"] = strings.Join(logoutURIs, "##")
c.Attributes = &attr
ps: multiple URIs need to be join with ##
(double hashtag)
It's seems you can configure every attributes configurable by Keycloak admin UI like this, and even add custom one.
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I want to add to my client a logout redirect URL, like I do with
Describe the solution you'd like A clear and concise description of what you want to happen.
something like:
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
None.
Additional context Add any other context or screenshots about the feature request here.
this box in client section: