mcordell / grape_token_auth

Token auth for grape apps
MIT License
52 stars 19 forks source link

It should be possible to configure the auth header keys used #29

Open mcordell opened 8 years ago

mcordell commented 8 years ago

See this

DTA has the key hardcoded in: https://github.com/lynndylanhurley/devise_token_auth/blob/e0b4dff6bc76ad7f3021e579cfa23477752140ff/app/controllers/devise_token_auth/concerns/set_user_by_token.rb#L29.

I don't see a reason why it couldn't be configured but I'm going to think on this a bit. Likely this will break ng-token-auth compatibility?