-
Notifications
You must be signed in to change notification settings - Fork 2
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
SOLIDPOD: Implement SolidLoginPopup() for bstim #3
Comments
Could this be assigned to Kevin? Start to have a look at how this will work. Thanks. |
Assign myself to this ticket |
https://github.com/anusii/solidpod/tree/kev/3_popup |
solidpod repo: keypod repo: PR created |
in progress, working on saving auth data/token for use on other pages as in SolidLogin() |
I converted authdata (Map format) into String using serializeMap so that we can save them in secureStorage. But I found difficulty converting the string back to the correct map format. Dawei suggested I can convert the map into Json format first, then save as a string using secureStorage. |
This page might be useful for converting the |
/// Store authentication data how to Serialize JSON for each map value . error I got: Converting object to an encodable object failed: Instance of 'Client’ |
So Anushka mentioned that re-creating the
where both the
where Therefore, it seems that we should be able to recreate the |
Thanks @cdawei on it |
https://github.com/anusii/bstim/pull/364 PR created |
Let's review this today - that it is fully functional. |
Description
Not all apps will need to immediately log into the POD on startup. An example is BSTIM which only needs PODs when a survey is to be submitted. This use case is for a solid pod login popup that will establish a connection to the pod.
If a WebID is not known then prompt for it and save it locally, then connect to the server to retrieve the token.
The token should be retained so that no further login is required for reading/writing data during the app session.
If the app folder does not exist for the user on the solid server then run the InitialisePod() widget from #2
Closing Criteria
The text was updated successfully, but these errors were encountered: