Giter Club home page Giter Club logo

Comments (9)

lightofjeju avatar lightofjeju commented on September 22, 2024 2

@dshukertjr

scope settings page

kakao error url

And when I checked the auth log in the suppbase dashboard, I didn't receive not only the phone but also the birthdat birthyaer data.

from auth.

dshukertjr avatar dshukertjr commented on September 22, 2024 1

Also I'm going to transfer this issue to the Auth backend repo as it seems like a backend issue.

from auth.

doong-jo avatar doong-jo commented on September 22, 2024 1

@dshukertjr @lightofjeju

https://github.com/supabase/gotrue/blob/757989c1d3856a1dc450c2e0a5cb1c8e0172a6a6/internal/api/provider/kakao.go#L82-L86

It seems to be requested because the above three scopes are always put in by default.

To modify, we need to modify the logic related to scopes, but other providers have the same logic, which seems to be intended maybe.

from auth.

dshukertjr avatar dshukertjr commented on September 22, 2024 1

@lightofjeju
Our auth team will have a look at this issue whenever possible. Thanks for your patience.

from auth.

MiryangJung avatar MiryangJung commented on September 22, 2024 1

It can be solved by attaching a trigger to the user table to create an edge function that get additional information from KAKAO.

for example

serve(async (req) => {
  const { record }: WebhookPayload = await req.json();

  const appMetaData = record.raw_app_meta_data as RawAppMetaData;
  const userMetaData = record.raw_user_meta_data as RawUserMetaData;

  if (appMetaData.provider === "kakao") {
    getKakaoUser(record.id, userMetaData);
  }
});

from auth.

dshukertjr avatar dshukertjr commented on September 22, 2024

Check the personal information items that can be received when logging in on the Kakao developer site.

@lightofjeju Can you share the URL for this page?

from auth.

lightofjeju avatar lightofjeju commented on September 22, 2024

@doong-jo

Thank you for your answer.

Then, do you have any intention to make the oauthScopes value customizable?

oh.. sorry..
You're not a superbase developer 😁

from auth.

lightofjeju avatar lightofjeju commented on September 22, 2024

@dshukertjr

hello!
Who should I ask about this issue?

I added the phone_number value to scopes, but I am not receiving the phone_number value.

If this function doesn't work, I can't use the supabase auth and I think I'll have to link it with Kakao directly.. 🥲

from auth.

kangmingtay avatar kangmingtay commented on September 22, 2024

@lightofjeju that's because the auth service requires these scopes by default

from auth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.