mirror of
https://github.com/j93es/browser-use-oauth.git
synced 2026-06-04 02:41:53 +09:00
Add function to read sensitive data from .sensitive.json file
- Implemented GetSensitiveData function to load sensitive data from a JSON file. - Added error handling for missing file scenario.
This commit is contained in:
parent
29d91bac56
commit
1b65693ba5
6 changed files with 77 additions and 13 deletions
10
.sensitive.example.json
Normal file
10
.sensitive.example.json
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"*.google.com": {
|
||||
"x_username": "bot.imnya.ng@gmail.com",
|
||||
"x_password": "some.google.password"
|
||||
},
|
||||
"github.com": {
|
||||
"x_username": "imnyang-bot",
|
||||
"x_password": "some.github.password"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue