Nekonyx / next-auth-steam

Steam authentication provider for next-auth
70 stars 18 forks source link

Schema changes required #6

Closed alexevladgabriel closed 1 year ago

alexevladgabriel commented 1 year ago

I would like to not make a schema modification for a field for steamId and use the already existing providerAccountId. https://github.com/Nekonyx/next-auth-steam/blob/3fee1f0465ad55d112167074e4ca2db23e66829b/src/steam.ts#L85

Nekonyx commented 1 year ago

Hi, can you explain exactly what needs to be done and why it needs to be done?

alexevladgabriel commented 1 year ago

Hi, can you explain exactly what needs to be done and why it needs to be done?

When using Steam Provider it requires changing the schema of the database to add steamID column in the accounts , I would want to not do that, and use already existing field providerAccountId.

Nekonyx commented 1 year ago

And do you want to rename steamId to providerAccountId, or permanently remove it?