Skip to content

Return TokenRequest instead of AuthRequest#309

Merged
jimmyjames merged 3 commits intomasterfrom
auth-request-headers
Oct 30, 2020
Merged

Return TokenRequest instead of AuthRequest#309
jimmyjames merged 3 commits intomasterfrom
auth-request-headers

Conversation

@jimmyjames
Copy link
Copy Markdown
Contributor

Changes

Resolves #307. See issue and comments for reasonings and alternatives.

References

Testing

Added a test for verifying that custom headers can be added to one of the login methods, to verify that the issue reported originally in #302 will be resolved with this change. Kept other tests expecting an AuthRequest (since TokenRequest is a AuthRequest, and it ensures that the change is backwards-compatible.

  • This change adds test coverage
  • This change has been tested on the latest version of the platform/language or why not

Checklist

@jimmyjames jimmyjames added this to the v1-Next milestone Oct 27, 2020
@jimmyjames jimmyjames requested a review from a team as a code owner October 27, 2020 15:12
@jimmyjames jimmyjames requested a review from lbalmaceda October 28, 2020 15:29
@jimmyjames jimmyjames merged commit 9a2609d into master Oct 30, 2020
@stevehobbsdev stevehobbsdev deleted the auth-request-headers branch November 2, 2020 11:18
@jimmyjames jimmyjames modified the milestones: v1-Next, 1.24.0 Nov 2, 2020
@jimmyjames jimmyjames mentioned this pull request Nov 2, 2020
3 tasks
@kevinrobayna
Copy link
Copy Markdown

kevinrobayna commented Nov 9, 2020

This is a breaking change.. Why this was released under a minor change?

FYI https://semver.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Token requests should be customizable

3 participants