https://supabase.com/ logo
#help
Title
# help
a

agileben

05/18/2022, 1:42 AM
$supabase.auth.signIn for provider:'azure' is giving me "Error getting user email from external provider" error on signIn for a new AD test account. Testing the same AD account on firebase auth works, so there is something up with how I'm using supabase auth or the gotrue server does not quite liking that account. Are there more detailed logs available from the server? I'm using the hosted server not local.
n

Needle

05/18/2022, 1:42 AM
Hello @agileben! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
🆕 Error getting user email from external provider
g

garyaustin

05/18/2022, 2:46 AM
The only logs are under database and include api and Postgres.
n

Needle

05/18/2022, 2:46 AM
Error getting user email from external provider
a

agileben

05/18/2022, 10:23 AM
thanks @garyaustin it looks like there is an auth_logs schema - is that potentially useful? I found a "Logs Explorer" here but can't seem to view the columns in the auth_logs table: https://app.supabase.io/project/vsgrmnlhdzjjvxjtpljo/logs-explorer?q=Select+column_name+from+information_schema.columns+where+table_name+%3D+%E2%80%98auth_logs%27&its=2022-05-11T00%3A00%3A00.000Z&ite=2022-05-13T23%3A59%3A59.000Z
Managed to guess the column name: https://app.supabase.io/project/vsgrmnlhdzjjvxjtpljo/logs-explorer?q=select+id%2C+event_message+from+auth_logs - unfortunately the auth_logs don't have any additional info: time="2022-05-18T01:47:05Z" level=error msg="500: Error getting user email from external provider" component=api error="Unable to find email with Azure provider" method=GET path=/callback referer="https://login.microsoftonline.com/" remote_addr="202.144.161.229:44837" request_id=fb9ded43-9abf-4295-9aea-a288650ae498