How to Basic Auth without Base64 encoded API TOken

Hello everyone,

Please help. My application provides the Basic Auth functionality and also Custom Header definition.
So if I generate my Authorization string using Base64 (login:APIToken) and put that into the header like Authorization: Basic “base64 string” it works.

But what if my app doesn’t provide the base64 encoding functionality ?

Is there a way to login using some mapping in the basic auth (login and API Token) or in the header ?
I mean without to use base64 encoding using the pure API Token ?

thanks a lot for help
best regards
Marek

Hi @MarekCeizel,

Base64 encoding is part of the Basic Auth standard, so you cannot use Basic Auth in general without having some way of doing Base64 encoding.

1 Like