Skip to content

Instagram unknown arg on signIn callback (user_id) #5458

@dedekpo

Description

@dedekpo

Provider type

Instagram

Environment

Not necessary

Reproduction URL

Already fixed

Describe the issue

Just want to report a bug with Instagram authentication. Aparently there's a unknown field on the signIn callback that's causing a error on signIn. I manage to fix it but I would like to warn everybody here.

I notice the error when trying to login with Instagram. This error apeared:
image

Then I decided to console.log every callback on next auth and host my app on Vercel to watch for error logs:

image

And this error apeared on signIn:

image

How i fixed:
I deleted the field user_id on account

image

Extra if needed:
This is my prisma schema (the default one)
image

How to reproduce

Use Instagram for authentication

Expected behavior

Login without errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    providerstriageUnseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions