Skip to content

Commit c919aa5

Browse files
zutnopmrts
authored andcommitted
Fix incorrect groupId and challenge token code example in README
1 parent 08ac13d commit c919aa5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ Add the following lines to Maven `pom.xml` to include the Web eID authentication
2323
```xml
2424
<dependencies>
2525
<dependency>
26-
<groupId>eu.webeid.security</groupId>
26+
<groupId>org.webeid.security</groupId>
2727
<artifactId>authtoken-validation</artifactId>
28-
<version>3.0.0</version>
28+
<version>3.0.1</version>
2929
</dependency>
3030
</dependencies>
3131

@@ -156,9 +156,9 @@ public class ChallengeController {
156156

157157
@GetMapping("challenge")
158158
public ChallengeDTO challenge() {
159-
// a simple DTO with a single 'challenge' field
159+
// a simple DTO with a single 'nonce' field
160160
final ChallengeDTO challenge = new ChallengeDTO();
161-
challenge.setNonce(nonceGenerator.generateAndStoreNonce());
161+
challenge.setNonce(nonceGenerator.generateAndStoreNonce().getBase64EncodedNonce());
162162
return challenge;
163163
}
164164
}

0 commit comments

Comments
 (0)