supabase icon indicating copy to clipboard operation
supabase copied to clipboard

full_name not set

Open edelah opened this issue 5 years ago • 0 comments

Bug report

Describe the bug

Creation of user via api does not set the field full_name.

To Reproduce

  • Code

const supabase = createClient('https://eemwleknacuzazgnmcoh.supabase.co', SERVICE_ROLE_KEY); const { data, error } = await supabase.auth.api.createUser({ email: '[email protected]', full_name: 'Yoda', });

console.log('data:', data); console.log('error:', error);

  • Console

data: { id: 'ae061bbb-b09f-4fec-98e8-e3edbe1dffe4', aud: 'authenticated', role: 'authenticated', email: '[email protected]', phone: '', app_metadata: { provider: 'email', providers: [ 'email' ] }, user_metadata: {}, identities: null, created_at: '2021-11-21T14:46:42.087986Z', updated_at: '2021-11-21T14:46:42.089448Z' } error: null

Expected behavior

user full_name should not be null. See screenshot.

A clear and concise description of what you expected to happen.

Screenshots

bugsupabase

System information

@supabase/supabase-js": "^1.28.0 node v14.5.5

edelah avatar Nov 21 '21 15:11 edelah