Continue auth upgrades

Something's still not quite right...
This commit is contained in:
Daniel J. Summers
2019-08-30 22:46:11 -05:00
parent d95e2bf483
commit a392c8f22a
8 changed files with 72 additions and 84 deletions

View File

@@ -72,7 +72,8 @@ module Configure =
fun opts ->
let jwtCfg = cfg.GetSection "Auth0"
opts.Authority <- sprintf "https://%s/" jwtCfg.["Domain"]
opts.Audience <- jwtCfg.["Id"])
opts.Audience <- jwtCfg.["Id"]
)
|> ignore
sc.AddSingleton<IJsonSerializer> (NewtonsoftJsonSerializer jsonSettings)
|> ignore