You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit dae1029
Browse filesBrowse the repository at this point in the historyBrowse files
oauth2: update oauth2 tests for the OIDC review hardening
Align the existing provider and command tests with the hardened behavior:
verifyUser resolves through the nonce-aware path, the verified-email tests
stub the four-argument resolveEmail, the token helper sets email_verified,
and the command test mocks the nonce overload. All 110 oauth2 tests pass.
Copy file name to clipboardExpand all lines: plugins/user-authenticators/oauth2/src/main/java/org/apache/cloudstack/oauth2/oidc/GenericOIDCOAuth2Provider.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -155,7 +155,7 @@ public boolean verifyUser(String email, String secretCode, Long domainId, String
Copy file name to clipboardExpand all lines: plugins/user-authenticators/oauth2/src/test/java/org/apache/cloudstack/oauth2/api/command/VerifyOAuthCodeAndGetUserCmdTest.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ public void testAuthenticate() {
Copy file name to clipboardExpand all lines: plugins/user-authenticators/oauth2/src/test/java/org/apache/cloudstack/oauth2/oidc/GenericOIDCOAuth2ProviderTest.java
0 commit comments