How to use quirks? #342
-
Hi, mix phx.server fails to start with the error But i cant seem to find the right place/format to provide the My current relevant block of runtime.exs (where config :argument, Oidcc,
issuer: "https://localhost:9443/application/o/elixir-test/",
client_id: "<client_id>",
client_secret: "<client_secret>",
quirks: %{:allow_unsafe_http => true} How/Where do i have to specify the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
Currently that value is not read from the config. You'll have to supply it when starting the provider configuration. However: The Have a look at:
You can see the quirks in use in the tests: oidcc/test/oidcc_provider_configuration_SUITE.erl Lines 119 to 125 in ebae4bd |
Beta Was this translation helpful? Give feedback.
Currently that value is not read from the config. You'll have to supply it when starting the provider configuration.
However: The
quirk
allows thehttp
protocol, not thehttps
protocol with an unknown certificate. You'll have to configure thessl
options for that.Have a look at:
You can see the quirks in use in the tests:
oidcc/test/oidcc_provider_configuration_SUITE.erl
Lines 119 to 125 in ebae4bd