Skip to content

Commit

Permalink
Revert "As a proofPurpose, use assertionMethod instead of authenticat…
Browse files Browse the repository at this point in the history
…ion except for DidAuth"

This reverts commit c25f9a7.
  • Loading branch information
hawkbee1 committed May 29, 2024
1 parent 0d5c71d commit ef9e280
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/scan/cubit/scan_cubit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ class ScanCubit extends Cubit<ScanState> {
/// proof check to fail because of time difference on server
final options = jsonEncode({
'verificationMethod': kid,
'proofPurpose': 'assertionMethod',
'proofPurpose': 'authentication',
'challenge': challenge,
'domain': domain,
'created': DateTime.now()
Expand Down Expand Up @@ -894,7 +894,7 @@ class ScanCubit extends Cubit<ScanState> {
/// proof check to fail because of time difference on server
final options = jsonEncode({
'verificationMethod': kid,
'proofPurpose': 'assertionMethod',
'proofPurpose': 'authentication',
'challenge': nonce,
'domain': clientId,
'created': DateTime.now()
Expand Down

0 comments on commit ef9e280

Please sign in to comment.