Custom Parameters Missing From Post-Login Action During Auth0 Native Social Login

Overview

Auth0 does not make custom parameters that an application passes to the /oauth/token endpoint available in a Post-Login Action within event.request.body during a Native Social Login flow. This occurs because Auth0 only supports passing audience and scope parameters during this specific flow. Auth0 excludes custom parameters from the request body in this context.

Applies To

  • Auth0
  • Native Social Login
  • Post-Login Actions
  • /oauth/token Endpoint

Cause

This is expected behavior. Auth0 only makes the audience and scope parameters accessible in a Post-Login Action within event.request.body during the Native Social Login flow. Auth0 does not include custom parameters.

Solution

Why are custom parameters missing in the Post-Login Action?

Auth0 restricts the parameters available in event.request.body during the Native Social Login flow. Auth0 only includes the audience and scope parameters. The Post-Login Action cannot access custom parameters that an application passes to the /oauth/token endpoint during this specific flow. This is the expected behavior.

Recommended content

No recommended content found...