mirror of
https://github.com/OliveTin/OliveTin
synced 2025-12-12 09:05:39 +00:00
add support for asymmetric crypto based jwt signatures (#145)
* add support for asymmetric crypto based jwt signatures * wip: e2e test example * wip: rsa key parse error... * fix: test works --------- Co-authored-by: James Read <contact@jread.com>
This commit is contained in:
@@ -59,6 +59,10 @@ func parseRequestMetadata(ctx context.Context, req *http.Request) metadata.MD {
|
||||
return md
|
||||
}
|
||||
|
||||
func SetGlobalRestConfig(config *config.Config) {
|
||||
cfg = config
|
||||
}
|
||||
|
||||
func startRestAPIServer(globalConfig *config.Config) error {
|
||||
cfg = globalConfig
|
||||
|
||||
|
||||
Reference in New Issue
Block a user