Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing additional login return data from the Notion auth provider #1353

Open
nathansudo opened this issue Sep 8, 2023 · 3 comments
Open

Comments

@nathansudo
Copy link

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
Copy link
Author

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.

@saltcod saltcod transferred this issue from supabase/supabase Sep 8, 2023
@nathansudo
Copy link
Author

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

@hf hf transferred this issue from supabase/auth-js Dec 19, 2023
@hf
Copy link
Contributor

hf commented Dec 19, 2023

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants