Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/inherit oauth #2

Closed
wants to merge 12 commits into from
Closed

Feature/inherit oauth #2

wants to merge 12 commits into from

Commits on May 7, 2024

  1. release: v1.17.0

    helloanoop committed May 7, 2024
    Configuration menu
    Copy the full SHA
    e149c8d View commit details
    Browse the repository at this point in the history
  2. OAuth2: Implement OAuth 2.0 Implicit Grant

    Mateusz Pietryga authored and pietrygamat committed May 7, 2024
    Configuration menu
    Copy the full SHA
    8aca9c9 View commit details
    Browse the repository at this point in the history
  3. OAuth2: Implement OAuth 2.0 Implicit Grant - Ignore redirect abortion…

    … emitted by loadUrl
    
     usebruno#2056
     usebruno#1959
    Mateusz Pietryga authored and pietrygamat committed May 7, 2024
    Configuration menu
    Copy the full SHA
    2a18fab View commit details
    Browse the repository at this point in the history
  4. Fix: OAuth2 auth is successful but token endpoint is returned instead…

    … of api endpoint
    
    Setting oauth2 authorization no longer equals overwriting user-specified data in a request. The pre-requests made to obtain oauth2 access_token are now separated from actual API request.
    
    usebruno#1999
    pietrygamat committed May 7, 2024
    Configuration menu
    Copy the full SHA
    cb19ff1 View commit details
    Browse the repository at this point in the history
  5. Store OAuth2 authorization information

    Results of oauth2 authorization flow (i.e. access_token but also refresh_token, id_token, scope or any other information returned from token request) are stored in a collection specific cache. It is persisted in the file system, and will be automatically reused when executing requests until the cache is purged (using Clear Cache button available in all related views).
    pietrygamat committed May 7, 2024
    Configuration menu
    Copy the full SHA
    1a8d66f View commit details
    Browse the repository at this point in the history
  6. OAuth2: Include resolved authorization details in req object to be us…

    …able by scripts
    
    The new variable 'credentials' is now available in 'req' object. It is added automatically during request preparation if oauth2 method is used and is value is either evaluated or retrieved from collection oauth2 cache.
    pietrygamat committed May 7, 2024
    Configuration menu
    Copy the full SHA
    5cb6b3e View commit details
    Browse the repository at this point in the history
  7. Do not make axios request when executing collection level Get Access …

    …Token action
    
    The actual the authorization request is now part of request preparation, and its response is returned for post-request script processing.
    pietrygamat committed May 7, 2024
    Configuration menu
    Copy the full SHA
    1bed904 View commit details
    Browse the repository at this point in the history
  8. OAuth2: automatically handle Bearer token type only

    According to RFC6749 Section 7.1, The client MUST NOT use an access token
    if it does not understand the token type.
    At this point bruno only understands 'bearer' token_type.
    pietrygamat committed May 7, 2024
    Configuration menu
    Copy the full SHA
    bf9e6dd View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    18a94aa View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b781feb View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    c294cc4 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    733ed88 View commit details
    Browse the repository at this point in the history