-
Notifications
You must be signed in to change notification settings - Fork 112
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
Add CLI commands for OCM invitation workflow #1149
Comments
Hi @ishank011! I thought of giving this a shot. So just to summarize, we are required to add an |
Hey @jimil749. Yep, that is the plan. We'll need separate commands for generating the token and forwarding the invite though, since they're expected to be executed on different mesh providers, by the originator and recipient, respectively https://reva.link/docs/tutorials/share-tutorial/ should give you a good idea of the workflow but it might be a bit dated, so feel free to reach out if you face any issues. |
@ishank011, I have got a question. I implemented the token generation command which generates an invite token. Now, for the next task which is to forward the token, which should be a different command (executed by the recipient) we require the generated token. In the doc provided, since the token generation and forwarding happens manually, we can just copy and paste the token. But I am not so sure how the recipient will get that token to make the request. Can there be a flag (maybe |
Just a correction, passing just the |
The |
Ahh ok! I was looking at the gRPC endpoint! Thanks for clearing. :) |
No, you still need to call the GRPC endpoint, but the implementation should be similar to the reference which I sent. In the inviteToken object, you can leave the rest of the fields empty as the backend only needs the UUID. Owing to the zero values in Go, we don’t have to explicitly specify it. |
No description provided.
The text was updated successfully, but these errors were encountered: