corbado/passkeys-supabase

Improve code / repo

Closed this issue · 3 comments

  1. Done
  2. Removed
  3. Yes
  4. Removed
  5. You only create a customly signed JWT if you want to act on behalf of a certain user, not e.g. for the admin api
  6. Dann bekomme ich einen unexpected "iss" claim value error wenn ich corbado.getCurrentUser() aufruf
  7. Done
  8. In der UserService.create() methode wird die metadata gesetzt
image
  1. If possible you do everything directly by calling the methods of the Supabase client. Rpc functions are only used if additional functionality is needed that the client doesn't provide by itself.
  1. Aber wann müssen wir denn "on behalf of a certain user" hier handeln?
  2. schau mal bitte nach, was deine Frontend API im Developer Panel ist (auth.corbado.com eigentlich nur noch bei alten Projekten) - bei den neuen läuft es ja über .frontendapi.corbado.io -> das sollte dann auch ohne die Zeile klappen
  3. Okay, aber ist es dann nicht inkosistent zu https://github.com/corbado/example-webcomponent-supabase/blob/5986460076659f9a9a47a426587fabbf24c3c6e9/src/services/userService.js#L31
  1. Wenn man dann user-specific data lädt. War bei den todos der fall, aber die hab ich raus (also snippet gibts nicht mehr)
  2. Mit nem neuen projekt hats funktioniert, habs rausgemacht
  3. Alte version, im webhooks branch is es zusammengefasst