-
Notifications
You must be signed in to change notification settings - Fork 85
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: support refresh service #581
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice Job! Some minor comments
return nil | ||
}, | ||
// check if refresh service has supported type | ||
func() error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If RefreshService is set, expiration should be mandatory in that case, right? I'm missing that validation here
Taken from the docs: "Also, the issuer should set expiration field"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, you are right. I will fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nice job @ilya-korotya !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…nID/issuer-node into feature/support-refresh-service
We have recently implemented a refresh service for short-lived credentials. If a credential includes a refreshService field, clients can now use this service to refresh credentials that have expired.
Typical Use Case:
For more details, please refer to our internal documentation: Refresh Service Documentation.
Link to the refresh service (⚠️ integration with the issuer-node is pending): GitHub - Refresh Service.Integration with the issuer-node is ready on refresh service side: 0xPolygonID/refresh-service#3