remix-auth-auth0 icon indicating copy to clipboard operation
remix-auth-auth0 copied to clipboard

feat: Export Auth0UserInfo

Open artursvonda opened this issue 7 months ago • 0 comments

This allows users to augment it with custom data.

I'm using it to augment type with metadata I'm returning.

declare module "remix-auth-auth0" {
	interface Auth0UserInfo {
		"https://my.prefix.domain/metadata"?: {
			company_name?: string;
		};
	}
}

artursvonda avatar Jul 17 '24 14:07 artursvonda