@@ -23,8 +23,7 @@ import ballerina/lang.runtime as runtime;
2323
2424// Test the client credentials grant type with valid credentials
2525@test :Config {
26- groups : [" skipOnWindows" ],
27- enable : false
26+ groups : [" skipOnWindows" ]
2827}
2928isolated function testClientCredentialsGrantType1() returns Error ? {
3029 ClientCredentialsGrantConfig config = {
@@ -54,8 +53,7 @@ isolated function testClientCredentialsGrantType1() returns Error? {
5453
5554// Test the client credentials grant type with invalid client credentials
5655@test :Config {
57- groups : [" skipOnWindows" ],
58- enable : false
56+ groups : [" skipOnWindows" ]
5957}
6058isolated function testClientCredentialsGrantType2() {
6159 ClientCredentialsGrantConfig config = {
@@ -91,8 +89,7 @@ isolated function testClientCredentialsGrantType2() {
9189
9290// Test the client credentials grant type with valid client-id and invalid client-secret
9391@test :Config {
94- groups : [" skipOnWindows" ],
95- enable : false
92+ groups : [" skipOnWindows" ]
9693}
9794isolated function testClientCredentialsGrantType3() {
9895 ClientCredentialsGrantConfig config = {
@@ -204,8 +201,7 @@ isolated function testClientCredentialsGrantType5() returns Error? {
204201
205202// Test the password grant type with valid credentials
206203@test :Config {
207- groups : [" skipOnWindows" ],
208- enable : false
204+ groups : [" skipOnWindows" ]
209205}
210206isolated function testPasswordGrantType1() returns Error ? {
211207 PasswordGrantConfig config = {
@@ -294,8 +290,7 @@ isolated function testPasswordGrantType2() returns Error? {
294290
295291// Test the password grant type with an invalid username, password, and a valid refresh config
296292@test :Config {
297- groups : [" skipOnWindows" ],
298- enable : false
293+ groups : [" skipOnWindows" ]
299294}
300295isolated function testPasswordGrantType3() {
301296 PasswordGrantConfig config = {
@@ -381,8 +376,7 @@ isolated function testPasswordGrantType4() {
381376
382377// Test the password grant type with an valid username, password, and without client-id and client-secret
383378@test :Config {
384- groups : [" skipOnWindows" ],
385- enable : false
379+ groups : [" skipOnWindows" ]
386380}
387381isolated function testPasswordGrantType5() {
388382 PasswordGrantConfig config = {
@@ -561,8 +555,7 @@ isolated function testPasswordGrantType9() returns Error? {
561555
562556// Test the refresh token grant type with an invalid refresh token
563557@test :Config {
564- groups : [" skipOnWindows" ],
565- enable : false
558+ groups : [" skipOnWindows" ]
566559}
567560isolated function testRefreshTokenGrantType1() {
568561 RefreshTokenGrantConfig config = {
@@ -657,8 +650,7 @@ isolated function testRefreshTokenGrantType3() {
657650
658651// Test the refresh token grant type with invalid client-id and client-secret
659652@test :Config {
660- groups : [" skipOnWindows" ],
661- enable : false
653+ groups : [" skipOnWindows" ]
662654}
663655isolated function testRefreshTokenGrantType4() {
664656 RefreshTokenGrantConfig config = {
@@ -734,8 +726,7 @@ isolated function testJwtBearerGrantType1() returns Error? {
734726
735727// Test the JWT bearer grant type with an valid JWT (different issuer)
736728@test :Config {
737- groups : [" skipOnWindows" ],
738- enable : false
729+ groups : [" skipOnWindows" ]
739730}
740731isolated function testJwtBearerGrantType2() {
741732 string jwt = " eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxN" +
@@ -765,8 +756,7 @@ isolated function testJwtBearerGrantType2() {
765756
766757// Test the JWT bearer grant type with an invalid assertion
767758@test :Config {
768- groups : [" skipOnWindows" ],
769- enable : false
759+ groups : [" skipOnWindows" ]
770760}
771761isolated function testJwtBearerGrantType3() {
772762 JwtBearerGrantConfig config = {
@@ -836,8 +826,7 @@ isolated function testJwtBearerGrantType4() {
836826
837827// Test the JWT bearer grant type with an valid JWT, and without client-id and client-secret
838828@test :Config {
839- groups : [" skipOnWindows" ],
840- enable : false
829+ groups : [" skipOnWindows" ]
841830}
842831isolated function testJwtBearerGrantType5() {
843832 string jwt = " eyJhbGciOiJSUzI1NiIsICJ0eXAiOiJKV1QiLCAia2lkIjoiTXpZeE1tRmtPR1l3TVdJMFpXTm1ORGN4TkdZd1ltTTRaVEEzTV" +
@@ -870,8 +859,7 @@ isolated function testJwtBearerGrantType5() {
870859
871860// Test the JWT bearer grant type with invalid client-id and client-secret
872861@test :Config {
873- groups : [" skipOnWindows" ],
874- enable : false
862+ groups : [" skipOnWindows" ]
875863}
876864isolated function testJwtBearerGrantType6() {
877865 string jwt = " eyJhbGciOiJSUzI1NiIsICJ0eXAiOiJKV1QiLCAia2lkIjoiTXpZeE1tRmtPR1l3TVdJMFpXTm1ORGN4TkdZd1ltTTRaVEEzTV" +
0 commit comments