Skip to content

Conversation

@stanhu
Copy link
Contributor

@stanhu stanhu commented Nov 19, 2022

Instead of using a fixture that is difficult to maintain, generate the actual JWT and test that. Move common code into strategy_test_case.rb.

This is part of the effort to upstream changes in the GitLab fork: https://gitlab.com/gitlab-org/ruby/gems/gitlab-omniauth-openid-connect/-/issues/5.

@stanhu stanhu force-pushed the sh-clean-up-tests branch 6 times, most recently from 1dcd3cf to 39094fb Compare November 19, 2022 20:06
@stanhu
Copy link
Contributor Author

stanhu commented Nov 19, 2022

@dblessing @BobbyMcWho Could you review this?

Copy link
Member

@BobbyMcWho BobbyMcWho left a comment

Choose a reason for hiding this comment

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

1 question

Instead of using a fixture that is difficult to maintain, generate the
actual JWT and test that. Move common code into strategy_test_case.rb.
@stanhu stanhu merged commit 4cf9061 into master Nov 20, 2022
@stanhu stanhu deleted the sh-clean-up-tests branch November 20, 2022 14:51
stanhu added a commit to skycocker/omniauth_openid_connect that referenced this pull request Nov 29, 2022
omniauth#132
refactored the test so that nonce is automatically generated.
stanhu added a commit that referenced this pull request Nov 29, 2022
#132
refactored the test so that nonce is automatically generated.
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