I want to download image from authentication API. How to download config Glide?
GlideUrl glideUrl = new GlideUrl(url,
new LazyHeaders.Builder()
    .addHeader("Authorization", token)
    .build());
GlideApp.with(context) 
        .load(glideUrl)
         .into(imageView);
Use .addHeader("Authorization", "Bearer " + token) instead.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With