Question and answer is powered by AnsPress.io
Hi, is there a way to read Authorization Headers? I am not able to get Authorization from header in my Codeigniter project. I need it because for my REST server I provide a custom Authorization Bearer Token. How can I solve it?
Add this line on htaccess file on top
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
I have got the solution to apply it.