Skip to content

Saving and retrieving credentials at each browser phone start #469

Answered by InnovateAsterisk
field64 asked this question in Q&A
Discussion options

You must be logged in to vote

The browser phone makes extensive use of the LocalStorage API:
https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage
and also Index DB API:
https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API

These APIs allow you to script access to the data that the Browser Phone sets and collects.

With regards to credentials, I would construct an alternate login solution with a server-side language like PHP, have the user login, and based off this, have the username and password sent to the browser.

The password WILL be set in code, this is simply something you will not be able to overcome. If a user goes to the Developer Tools or the console, they will be able to access the SI…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by field64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants