Is your feature request related to a problem? Please describe.
Notion's OAuth workflow now allows integrations to duplicate a public Notion template and automatically share the duplicated template with the integration. The JWT that is returned after successful authorization using Supabase's API currently does not include the ID of the duplicated template. The template ID allows integrations to modify the duplicated template in a user's Notion workspace.
Describe the solution you'd like
The JWT returned after successful authorization should include the duplicated template's ID.
Describe alternatives you've considered
After a user has signed in with Notion, trigger another OAuth flow using Notion's native Authorization URL to collect the duplicated template ID
Additional context
Notion's native OAuth API returns the template id with a key of duplicated_template_id
Feature request
Is your feature request related to a problem? Please describe.
Notion's OAuth workflow now allows integrations to duplicate a public Notion template and automatically share the duplicated template with the integration. The JWT that is returned after successful authorization using Supabase's API currently does not include the ID of the duplicated template. The template ID allows integrations to modify the duplicated template in a user's Notion workspace.
Describe the solution you'd like
The JWT returned after successful authorization should include the duplicated template's ID.
Describe alternatives you've considered
After a user has signed in with Notion, trigger another OAuth flow using Notion's native Authorization URL to collect the duplicated template ID
Additional context
Notion's native OAuth API returns the template id with a key of
duplicated_template_id