I am trying to use Traefik middleware of type "authForward" and connect it to auth0 application to signin and then forward to the url.
this is my yaml config for the middleware:
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: auth0-auth
namespace: secc
spec:
forwardAuth:
address: https://auth0-traefik-lem.us.auth0.com/authorize?response_type=code&client_id=pcykgz0s4ujrWwekG4vZK4ItFlBb5ayT&redirect_uri=https://dashboard.traefik.leminnov.cloud/dashboard
authResponseHeaders:
- X-Auth-User
- X-Secret
I am getting 302 response and it's continuously redirecting until i reach the limit.
Does any one tried to link traefik with auth0 or know what's the problem ?