Skip to content

Commit

Permalink
#1616 Changed webservice["client-secret"] for security.oidc.secret in…
Browse files Browse the repository at this point in the history
… setupTokenForSystem method of StubbedCasSpec
  • Loading branch information
jack-brinkman committed Jul 29, 2024
1 parent 0628f25 commit 1339a2b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ class StubbedCasSpec extends BiocollectFunctionalTest {
// The test config isn't a normal grails config object (probably need to to into why) so getProperty doesn't work.
Map testConfig = getTestConfig()
String clientId = testConfig.security.oidc.clientId
String clientSecret = testConfig.webservice["client-secret"]
String clientSecret = testConfig.security.oidc.secret
String base64EncodedAuth = "Basic " + "${clientId}:${clientSecret}".bytes.encodeBase64().toString()

List roles = ["ROLE_USER"]
Expand Down

0 comments on commit 1339a2b

Please sign in to comment.