mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
nixos/kanidm: accept originUrls following rfc8252 (#428204)
This commit is contained in:
@@ -548,7 +548,7 @@ in
|
||||
description = "The redirect URL of the service. These need to exactly match the OAuth2 redirect target";
|
||||
type =
|
||||
let
|
||||
originStrType = types.strMatching ".*://.*$";
|
||||
originStrType = types.strMatching ".*://?.*$";
|
||||
in
|
||||
types.either originStrType (types.nonEmptyListOf originStrType);
|
||||
example = "https://someservice.example.com/auth/login";
|
||||
|
||||
Reference in New Issue
Block a user