Is it possible to send a Basic Authorization header from a visualforce page and redirect a user to a different non-sf site? If not any way on how I can do this?

I was able to send a HTTPRequest with Authorization header and recieved an id from the server (non salesforce site). Now with that id, I need to redirect the user to a site outside of Salesforce. I do not want the user to know the credentials, so I have to pass an Authorization header with Basic Authorization as well?

Is it possible to redirect the user to a site(non Salesforce site) and attach Authorization header in it? I want the user to automatically see the page without knowing the credentials.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.