Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(app): Add support for custom scope in verfication flow #666

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

talwinder50
Copy link
Member

Signed-off-by: Talwinder kaur [email protected]

try initiatedInteraction.presentCredential(selectedCredentials)

if customScopes.count != 0 {
let opts2 = Openid4vpNewPresentCredentialOpts()?.addScopeClaim(customScopes.keys.first, claimJSON: (customScopes.values.first as! String))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to add all custom scopes from customScopes: Dictionary

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addressed

@codecov-commenter
Copy link

codecov-commenter commented Nov 14, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (398e66e) 89.09% compared to head (608d777) 89.10%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #666      +/-   ##
==========================================
+ Coverage   89.09%   89.10%   +0.01%     
==========================================
  Files         103      103              
  Lines        4146     4150       +4     
==========================================
+ Hits         3694     3698       +4     
  Misses        308      308              
  Partials      144      144              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@talwinder50 talwinder50 merged commit c815e28 into trustbloc:main Nov 15, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants