Back to Node Auth0

Interface ConnectionScriptsOAuth1

docs/interfaces/management.Management.ConnectionScriptsOAuth1.html

5.9.1901 B
Original Source

Interface ConnectionScriptsOAuth1

Custom scripts to transform user profile data or modify OAuth1 flow behavior

interface ConnectionScriptsOAuth1 {
fetchUserProfile?: string;
}

Index

Properties

fetchUserProfile?

Properties

OptionalfetchUserProfile

fetchUserProfile?: string

Custom JavaScript function to retrieve and transform user profile data from the identity provider. Called with the access token and token exchange response. Must return a user profile object. Executed in a sandboxed environment. If not provided, an empty profile object is used.

Settings

Member Visibility

  • Protected
  • Inherited

ThemeOSLightDark

On This Page

Properties fetchUserProfile