Skip to content

Reuse the existing token in client_credentials flow #736

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

Merged
merged 1 commit into from
Nov 1, 2015

Conversation

jimmykarily
Copy link
Contributor

Fixes issue 661: #661

@@ -1,6 +1,12 @@
require 'spec_helper_integration'

module Doorkeeper::OAuth
describe ClientCredentialsRequest do
subject do
# TODO Do we need something here too?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Annotation keywords like TODO should be all upper case, followed by a colon, and a space, then a note describing the problem.

@@ -1,6 +1,12 @@
require 'spec_helper_integration'

module Doorkeeper::OAuth
describe ClientCredentialsRequest do
subject do
# TODO: Do we need something here too?
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if there are any testing conventions on the project regarding "side" checking. This file and spec/lib/oauth/client_credentials_request_spec.rb seem relevant although they would test the same thing as on the file above. Should I keep only the above test?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need to add this indeed, would you remove this new block please?

@tute
Copy link
Contributor

tute commented Nov 1, 2015

Left two comments, thank you! Can you please rebase on top of latest master when you address them? Thank you!

@tute
Copy link
Contributor

tute commented Nov 1, 2015

Also, please add a note to NEWS.md file. Thank you! 😃 👏

@tute tute closed this Nov 1, 2015
@tute tute reopened this Nov 1, 2015
@jimmykarily
Copy link
Contributor Author

Rebased, fixed comments and added entry in NEWS.md (I amended the commit since the changes were pretty clear). @tute thanks.

tute added a commit that referenced this pull request Nov 1, 2015
Reuse the existing token in client_credentials flow
@tute tute merged commit f9d5e3d into doorkeeper-gem:master Nov 1, 2015
@tute
Copy link
Contributor

tute commented Nov 1, 2015

Thanks so much!

rhryniow pushed a commit to Ipsos-Tivian/tivian-cxi-doorkeeper that referenced this pull request Mar 12, 2025
Reuse the existing token in client_credentials flow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants