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

Add setting and implement code changes to run in traction mode #75

Open
esune opened this issue Feb 16, 2023 · 0 comments
Open

Add setting and implement code changes to run in traction mode #75

esune opened this issue Feb 16, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@esune
Copy link
Member

esune commented Feb 16, 2023

When running in traction mode, the controller will need to authenticate to the tenant using wallet_id/wallet_key and exchange them for a bearer token to be used as means of authenticating with the agent.

#74 demonstrates how to retrieve the token given the appropriate id/key combination and submit a request to the tenant. The set-up part creating a traction tenant and setting the webhook endpoints, however, is not necessary as the expectation is that the tenant will be provisioned separately and will be ready to be used.

The behaviour should be driven by a global setting ISSUER_MODE that will take values standalone or traction, switching the authentication behaviour to the agent accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant