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 chrome extension URL as trusted app #24

Closed
angelo-v opened this issue Apr 1, 2022 · 3 comments
Closed

Add chrome extension URL as trusted app #24

angelo-v opened this issue Apr 1, 2022 · 3 comments
Labels
enhancement New feature or request onboarding

Comments

@angelo-v
Copy link
Collaborator

angelo-v commented Apr 1, 2022

Currently the user needs to add the correct extension URL as a trusted app manually to allow access to NSS Pods. This is a manual step described on the options page.

We can simplify this, by doing it automatically (e.g. by just clicking a "Trust WebClip" button on the options page)

Since the options page does not send an origin header, the options page can do a request to add the required triple to the user profile.

As of today this is only needed for NSS, since CSS does not make use of the "trusted app" authorization and ESS does not work yet at all (see #21)

@angelo-v angelo-v added the enhancement New feature or request label Apr 1, 2022
@angelo-v
Copy link
Collaborator Author

part of #29

@angelo-v
Copy link
Collaborator Author

Since the options page does not send an origin header, the options page can do a request to add the required triple to the user profile.

Unfortunately, this is no longer true. The options page does indeed send an origin header and is therefore not allowed to add the required tripes.

As of today this is only needed for NSS

I do not think it is worth to put more effort on workarrounds for NSS, since solidcommunity.net and probably other providers will be moving from NSS to CSS in the long term and app authorization will work differently in the future. For now, we need to guide NSS users to add the correct extension URL as trusted app manually.

@angelo-v
Copy link
Collaborator Author

angelo-v commented Jun 8, 2022

Fixed in #29 by opening to a special page on the user pod, that has the permission to add the trusted app statements

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

No branches or pull requests

1 participant