drf-social-oauth2 icon indicating copy to clipboard operation
drf-social-oauth2 copied to clipboard

Changing the auth token header 'Bearer' to a custom header?

Open thesealednectar22 opened this issue 3 years ago • 1 comments

Could you please direct me to how to change the default auth token header 'Bearer' to a custom header? Thank you

thesealednectar22 avatar Jan 30 '22 08:01 thesealednectar22

It probably would not be simple, as "Bearer" is pretty hardcoded. Maybe your best bet is to rewrite all request headers before this library starts processing them.

denizdogan avatar Feb 03 '22 17:02 denizdogan

Please, give me more context on what you need to do here. Thanks.

wagnerdelima avatar Mar 26 '23 21:03 wagnerdelima

I am closing this issue due to a lack of context.

wagnerdelima avatar Apr 27 '23 18:04 wagnerdelima