auth icon indicating copy to clipboard operation
auth copied to clipboard

Missing additional login return data from the Notion auth provider

Open nathansudo opened this issue 2 years ago • 3 comments

Discussed in https://github.com/orgs/supabase/discussions/12278

Originally posted by madebyisaacr February 9, 2023 When using Notion as an auth provider, Notion returns a lot of additional information when a user signs in. From this data, access_token is available as supabase.auth.getSession().data.session.provider_token, but I can't find a way to retrieve any of the other return data.

Is it possible to access any of the data Notion returns in Supabase? Being able to use some of these properties like bot_id, workspace_name, workspace_icon would be very helpful for the app I'm making.

A screenshot from Notion developer docs showing the return information:

image

nathansudo avatar Sep 08 '23 03:09 nathansudo

Trying to raise the level of visibility on this issue with the Supabase feature for Login with Notion as outlined in the discussion.

Thanks for any help and insight you can provide on this topic, it's preventing us from moving forward with key decisions on our Supabase project.

nathansudo avatar Sep 08 '23 03:09 nathansudo

@saltcod Thanks for transferring this issue, do you think there's any solution or workaround for this?

nathansudo avatar Sep 10 '23 18:09 nathansudo

@nathansudo There's no way to do this right now. Please submit a PR if you think your suggestions would be useful for folks, as the team is a bit stretched.

hf avatar Dec 19 '23 17:12 hf