[@auth0/nextjs-auth0] Custom headers or query parameters on server-side requests

Hi @lvilasboas-dti,

Welcome to the Auth0 Community!

Can you try adding the custom parameters to the login method? Example:

login: handleLogin({
        authorizationParams: {
            'my-custom-key': 'my-custom-value',
        },

In my testing, I do not see the custom parameter when adding it to handleCallback, but I do see it passed through when I add it to handleLogin.

Please let me know how that goes!

Best,

Mary Beth