Giter VIP home page Giter VIP logo

Comments (4)

archerzz avatar archerzz commented on July 22, 2024

@weieigao I think we can add a broader support for X-Auth**** headers.

from ibm-cloud-cli-sdk.

archerzz avatar archerzz commented on July 22, 2024

@ashishth09 But to be honest, I think the backend service providers should re-consider the header names for authentication. Authorization header is quite flexible, since its value format is <type> <credentials>. They can easily define their own <type>, like http://www.iana.org/assignments/http-authschemes/http-authschemes.xhtml
X-Auth is still OK. If next time there are even more patterns to support, we might reject the request.

from ibm-cloud-cli-sdk.

archerzz avatar archerzz commented on July 22, 2024

I just checked AWS, and they are using Authorization header. Just the value is different, like:

Authorization: AWS4-HMAC-SHA256 
Credential=AKIAIOSFODNN7EXAMPLE/20130524/us-east-1/s3/aws4_request, 
SignedHeaders=host;range;x-amz-date,
Signature=fe5f80f77d5fa3beca038a248ff027d0445342fe2855ddc963176630326f1024

from ibm-cloud-cli-sdk.

weieigao avatar weieigao commented on July 22, 2024

Done.
update trace logger's sanitize regular rexpression #97

from ibm-cloud-cli-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.