Skip to content

Commit

Permalink
Add tests that the client_secret is not visible
Browse files Browse the repository at this point in the history
We add integration tests in a module to be sure
that the client_secret value is hidden in the
oidc_auth_provider module.
  • Loading branch information
Miha Dolinar authored and tadeboro committed Apr 29, 2021
1 parent d403ebd commit c000b1f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
- result.objects.0.metadata.name == 'oidc_name'
- result.objects.0.additional_scopes == ['openid']
- result.objects.0.client_id == 'a8e43af034e7f2608780'
#- "'client_secret' not in result.objects.0"
- "'client_secret' not in result.objects.0"
- result.objects.0.server == 'https://oidc.example.com:9031'
- result.objects.0.username_claim == 'email'

Expand All @@ -141,7 +141,7 @@
- result.objects.0.metadata.name == 'oidc_name'
- result.objects.0.additional_scopes == ['groups', 'email', 'username']
- result.objects.0.client_id == 'a8e43af034e7f2608780'
#- "'client_secret' not in result.objects.0"
- "'client_secret' not in result.objects.0"
- result.objects.0.server == 'https://oidc.example.com:9031'
- result.objects.0.username_claim == 'email'

Expand Down

0 comments on commit c000b1f

Please sign in to comment.