We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am facing this error
> a=User.create (3.0ms) BEGIN (0.1ms) ROLLBACK NoMethodError: undefined method `provider' for #<User:0x0000000008433390>
I don't have uid and provider fields in users table. However, I have moved these fields to auth_identities table.
uid
provider
users
auth_identities
can I make devise_token_auth not to search for the fields uid, provider?
devise_token_auth
The text was updated successfully, but these errors were encountered:
You could but you'd have to modify the library extensively. This is default behavior.
Sorry, something went wrong.
@shivabhusal Yeah you can.
config/initializers/devise_token_auth.rb
false
config.change_headers_on_each_request = false
config.other_uid
def provider "custom_attr" end
No branches or pull requests
I am facing this error
I don't have
uid
andprovider
fields inusers
table. However, I have moved these fields toauth_identities
table.can I make
devise_token_auth
not to search for the fieldsuid
,provider
?The text was updated successfully, but these errors were encountered: