serverpack: Add note about cookie token option
This commit is contained in:
@@ -273,6 +273,7 @@ let oidOptions (settings: MultiAuthSettings) (o: OpenIdConnectOptions) =
|
||||
|]
|
||||
o.Scope.Clear ()
|
||||
settings.oidc.scopes |> Array.iter o.Scope.Add
|
||||
// NOTE(simkir): Do not store token in cookie. Reducing the size.
|
||||
o.SaveTokens <- false
|
||||
o.UseTokenLifetime <- true
|
||||
o.ResponseType <- OpenIdConnectResponseType.Code
|
||||
@@ -673,4 +674,4 @@ type ApplicationBuilder with
|
||||
state with
|
||||
ServicesConfig = service :: state.ServicesConfig
|
||||
AppConfigs = middleware :: state.AppConfigs
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user