Currently im trying to implement ueberauth_oidcc where i am using a local keycloak server as identity provider.
Since i’m developing locally i use http, but I get this error when starting my app:
Error Details: {:configuration_load_failed, {:invalid_config_property, {:uri_https, :userinfo_endpoint}}} The error is quite clear, I need to use https. But I can’t for the life of me figure out how to disable this check locally when im developing. I followed this tutorial: UeberauthOidcc — Ueberauth OIDCC v0.4.2
Hope someone can help me.
This is my dev.exs
config :ueberauth_oidcc, :issuers, [ %{ name: :oidcc_issuer, issuer: "http://localhost:8080/realms/my-realm" } ] config :ueberauth, Ueberauth, providers: [ oidc: { Ueberauth.Strategy.Oidcc, # Additional HTTP tolerance issuer: :oidcc_issuer, client_id: "my-realm-phoenix", client_secret: "my-secret", scopes: ["openid", "profile", "email"], callback_path: "/auth/callback", userinfo: false, validate_scopes: false, uid_field: "email", } ]