The devise-api gem is a convenient way to add authentication to your Ruby on Rails application using the devise gem. It provides support for access tokens and refresh tokens, which allow you to authenticate API requests and keep the user's session active for a longer period of time on the client side
MIT License
152
stars
22
forks
source link
null resource_owner_id when calling `/users/tokens/sign_up` #16
After following the instructions in README, when calling:
I get the following error:
With some debugging I confirmed that the
devise_api_token
created in https://github.com/nejdetkadir/devise-api/blob/main/app/services/devise/api/tokens_service/create.rb#L26 hasresource_owner_id
set to null. What should I check to be successful in troubleshooting this?