- edited description
Credential Offer indicating a grant type
Issue #1734
resolved
Issuer gives clear guidance to the wallet which grant flows it wants the wallet to do
- if the Issuer wants the wallet to do only one of the grant (pre-authorized_code or code), send one of the parameters
- if the Issuer can do both grants and wants the wallet to choose, put two parameters
Syntax can look like:
{
“credential_issuer“: “example.com“
“grant_type”: {“pre-authorized_code“, “code“},
“pre-authorized_code“: “string“, //mandatory
“user_pin_required”: true, //optional
“issuer_state“: “string“ //optional. used to be called op_state
}
or
{
“credential_issuer“: “example.com“
“grant_type”: {“code“},
“issuer_state“: “string“ //optional. used to be called op_state
}
or
{
“credential_issuer“: “example.com“
“grant_type”: {“pre-authorized_code“},
“pre-authorized_code“: “string“, //mandatory
“user_pin_required”: true //optional
}
a following structure might work but than code
object will be empty when issuer_state
is not present.
{
"grant”: {
“pre-authorized_code“: {
“pre-authorized_code“: “string“
},
“code“: {
}
}
Comments (5)
-
reporter -
reporter related to
#1686, so looks like we have already agreed on this approach
-
reporter -
assigned issue to
-
assigned issue to
-
reporter - changed status to open
-
reporter - changed status to resolved
PR #373 merged
- Log in to comment