We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c52d7a7 commit b7dc241Copy full SHA for b7dc241
iot/api-client/manager/src/main/java/com/example/cloud/iot/examples/HttpExample.java
@@ -231,7 +231,7 @@ protected static void main(String[] args) throws Exception {
231
// Create the corresponding JWT depending on the selected algorithm.
232
String token;
233
DateTime iat = new DateTime();
234
- if ("RSA256".equals(options.algorithm)) {
+ if ("RS256".equals(options.algorithm)) {
235
token = createJwtRsa(options.projectId, options.privateKeyFile);
236
} else if ("ES256".equals(options.algorithm)) {
237
token = createJwtEs(options.projectId, options.privateKeyFile);
0 commit comments