nejdetkadir / devise-api

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

Use authentication_keys for resource lookup instead of static email field #40

Open zhaknafein opened 4 months ago

zhaknafein commented 4 months ago

The Devise gem allows to use different authentication_keys instead of the "email" field. This change (zhaknafein/devise-api@bb8057994632c93db74ab5ba006e5b81f56479b3) will make devise-api follow the same configuration as Devise. Sorry for the missing translations and tests, i accept suggestions on how to replace the "email" word everywhere :)