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

Proposal for zApp communication #2750

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

RickyRoller
Copy link
Collaborator

What does this do?

Extend the capabilities of zApps so that we can have more complex interactions between zOS and zApps

Why are we making this change?

We have a new app being built outside of zOS that'll need new capabilities

How do I test this?

Key decisions and Risk Assessment:

Things to consider:

  1. How will this affect security?
    - Sharing the original access token across apps isn't an appropriate solution for apps that are written by third parties, so we'll need to use a strict white list for what apps can use this functionality. In the future we can implement a new token system where apps can request certain permissions and the user can agree to those permissions.

Copy link
Collaborator

@domw30 domw30 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a good approach. The manifest concept provides a good foundation for future expansion while addressing immediate needs for AURA.

The authentication approach makes sense as a starting point, though I agree a proper scopes/claims system would be better long-term. For now, passing the access token to trusted apps is pragmatic.

The full-viewport iframe feature will definitely help make integrated apps feel more native within zOS.

@RickyRoller
Copy link
Collaborator Author

I decided that it'd be best to keep the manifest inside of zOS for now instead of having the app pass it in. Things are still very coupled at this point so no reason to complicate it.
2025-03-07 13 14 51

There is one more change to make around getting the token and passing it, but getting close to having this ready

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

Successfully merging this pull request may close these issues.

2 participants