Skip to content

is possible to use provider and uid columns on the authentications table? #633

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Rovel opened this issue May 12, 2016 · 2 comments
Closed

Comments

@Rovel
Copy link

Rovel commented May 12, 2016

I'm getting the classic error:
undefined method `provider' for #User:0x007f8867a82ce8

I know there is already an issue about that and all its config is described on the docs, but my issue is some sort different...

I've saw that it needs a method to get the provider and uid and set it on the user table as the registration goes on, but I already have these columns on the authentications table and it seems weird to have the same column in the both tables since user has_many authentications, but thinking about it the registration method, it doesn't make an authentication as it goes on right? so just for best practices is ok to have a provider and uid in both tables?

I've tried to find this relation on the user and authentication around provider and uid in the documentation and didn't found id so if it exists I would like to read it, please send reference.

So some help here would be great! :)

Thanks.

@zachfeldman
Copy link
Contributor

Hi there @Rovel ,

In an effort to cleanup this project and prioritize a bit, we're marking issues that haven't had any activity in a while with a "close-in-7-days" label. If we don't hear from you in about a week, we'll be closing this issue. Obviously feel free to re-open it at any time if it's the right time or this was done in error!

If you are still having the issue (especially if it's a bug report) please refer to our new Issue Template to provide some more details to help us solve it.

Hope all is well.

@Rovel
Copy link
Author

Rovel commented Oct 9, 2017

Hi @zachfeldman, you can close it, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants