fix: supported ui locales from config (#107)
This commit is contained in:
parent
1392c0ee9a
commit
8a35b89815
4 changed files with 26 additions and 10 deletions
|
@ -5,6 +5,8 @@ import (
|
|||
"net/url"
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"golang.org/x/text/language"
|
||||
)
|
||||
|
||||
const OidcDevMode = "CAOS_OIDC_DEV"
|
||||
|
@ -24,6 +26,8 @@ type Configuration interface {
|
|||
GrantTypeRefreshTokenSupported() bool
|
||||
GrantTypeTokenExchangeSupported() bool
|
||||
GrantTypeJWTAuthorizationSupported() bool
|
||||
|
||||
SupportedUILocales() []language.Tag
|
||||
}
|
||||
|
||||
func ValidateIssuer(issuer string) error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue