Submitting a Token in a Registration Request heading-link-icon

After you have generated a pre-auth token, you can distribute this to a registering member Corda identity that has been granted admission to a membership group. Synonym for a virtual node or group member. through offline channels, outside of Corda. The registering member must then include this pre-auth token in the registration request they submit when registering. To do this, an additional key must be set in the registration context. This key is corda.auth.token, and the value of this key must be the pre-auth token that the MGM Membership Group Manager. May also be referred to as the Network Manager. It is a virtual node and Corda identity that acts as a central registrar for group membership. provided.

For example, taking this sample registration request context as a base:

 {
 "corda.session.keys.0.id": "CD432EA37B69",
 "corda.session.keys.0.signature.spec": "SHA256withECDSA",
 "corda.ledger.keys.0.id": "4A37E41B63A7",
 "corda.ledger.keys.0.signature.spec": "SHA256withECDSA",
 "corda.endpoints.0.connectionURL": "https://alice.corda.com:8080",
 "corda.endpoints.0.protocolVersion": "1"
}

If the MGM operator generated and distributed the token 8d738966-07f0-456b-bc0e-19e61d7b90a3, the member submits the following registration context:

 {
 "corda.session.keys.0.id": "CD432EA37B69",
 "corda.session.keys.0.signature.spec": "SHA256withECDSA",
 "corda.ledger.keys.0.id": "4A37E41B63A7",
 "corda.ledger.keys.0.signature.spec": "SHA256withECDSA",
 "corda.endpoints.0.connectionURL": "https://alice.corda.com:8080",
 "corda.endpoints.0.protocolVersion": "1",
 "corda.auth.token": "8d738966-07f0-456b-bc0e-19e61d7b90a3"
}

Was this page helpful?

Thanks for your feedback!

Chat with us

Chat with us on our #docs channel on slack. You can also join a lot of other slack channels there and have access to 1-on-1 communication with members of the R3 team and the online community.

Propose documentation improvements directly

Help us to improve the docs by contributing directly. It's simple - just fork this repository and raise a PR of your own - R3's Technical Writers will review it and apply the relevant suggestions.

We're sorry this page wasn't helpful. Let us know how we can make it better!

Chat with us

Chat with us on our #docs channel on slack. You can also join a lot of other slack channels there and have access to 1-on-1 communication with members of the R3 team and the online community.

Create an issue

Create a new GitHub issue in this repository - submit technical feedback, draw attention to a potential documentation bug, or share ideas for improvement and general feedback.

Propose documentation improvements directly

Help us to improve the docs by contributing directly. It's simple - just fork this repository and raise a PR of your own - R3's Technical Writers will review it and apply the relevant suggestions.