Commit Graph

322 Commits

Author SHA1 Message Date
Jason Kulatunga 032946100c
working backend changes to generate JWT tokens during signin and signup. (#9) 2022-11-02 00:12:54 -07:00
Jason Kulatunga 9d56fa2896 allow user to dynamically set the decryption key for JWT tokens. 2022-10-31 23:09:18 -07:00
Jason Kulatunga f907abf10f modifications to support JWT auth locally. 2022-10-31 23:08:42 -07:00
Jason Kulatunga 14fae4c748 tweaking idp connect and callback.
working couchdb jwt auth.
2022-10-30 21:43:22 -07:00
Jason Kulatunga e379fe989a send redirect_uri. 2022-10-30 19:56:29 -07:00
Jason Kulatunga 52802323ee using access token. 2022-10-30 19:43:28 -07:00
Jason Kulatunga 29e143c8c1 only show "connect with hello" if deployed in cloud mode. 2022-10-30 17:28:29 -07:00
Jason Kulatunga 14492b0483 working on callback, which will send the idp to the callback url to trade it for an application jwt. 2022-10-30 17:27:43 -07:00
Jason Kulatunga 6e6e050f85 fixing redirect_uri parametr. 2022-10-30 16:36:36 -07:00
Jason Kulatunga 9bdc323c01 adding support for 3rd party idp's including hello - only on cloud deployment. 2022-10-30 12:21:25 -07:00
Jason Kulatunga 5d9bfa267b fixign tests. 2022-10-29 14:05:45 -07:00
Jason Kulatunga 35ca4a4e1b fixign tests. 2022-10-29 14:00:57 -07:00
Jason Kulatunga 3973c4e003 fixign tests. 2022-10-29 13:30:20 -07:00
Jason Kulatunga 2ca6f6ad96 fixign tests. 2022-10-29 13:21:21 -07:00
Jason Kulatunga b433cf24f2 fixign tests. 2022-10-29 13:17:05 -07:00
Jason Kulatunga 8d7ddddd78 pass in the cors proxy endpoint 2022-10-29 13:07:19 -07:00
Jason Kulatunga 6dc835d080 dont try to create user database when connecting. 2022-10-28 20:45:42 -07:00
Jason Kulatunga f84cf6fd8c default config should be for local dev environment. 2022-10-28 20:39:21 -07:00
Jason Kulatunga c5949f88bd deploy to the root domain. 2022-10-28 20:23:56 -07:00
Jason Kulatunga f0f37cd738 adding a new configuration for "cloud_sandbox" - used for AWS bucket.
consistent couchdb creds.
removed metadata endpoint and config.
ensure that the couchdb endpoint can be relative or absolute url. added tests for relative vs abs urls.
2022-10-28 19:01:20 -07:00
Jason Kulatunga 3a5db5452a since s3 bucket path includes /web, we dont need this conditional. 2022-10-26 23:57:46 -07:00
Jason Kulatunga 4e88f13a76 fixing deployment permissions 2022-10-26 23:52:24 -07:00
Jason Kulatunga 068b6b70f8 fix bucket name, so we can put it behind cf. 2022-10-26 23:45:33 -07:00
Jason Kulatunga ce46041548 set the file permissions when uploading to public-read. 2022-10-26 23:10:16 -07:00
Jason Kulatunga 75d4a3bd3b trying to use new iam role 2022-10-26 22:21:25 -07:00
Jason Kulatunga 7c3fa21d9b lighthouse will provide available sources and metadata. 2022-10-26 20:02:18 -07:00
Jason Kulatunga d4773371b2 when pushing to main, we should continuously deploy frontend (and api) to cloud service as well. 2022-10-26 19:44:48 -07:00
Jason Kulatunga f4ba6ca957 start supporting fasten-cloud 2022-10-26 08:39:13 -07:00
Jason Kulatunga 855fc4c129 using State UUID as key for storing state information in local storage. This also provides us a way to override the sourceType when dealing with multiple providers based off the same redirect url. 2022-10-23 08:23:39 -07:00
Jason Kulatunga 63c00c7821 when unable to validate generated encryption key is stored correctly, retrun back to genreation page and remove incorrect encryption key.
Added mechanism to decrypt payloads when using "find" function.
2022-10-19 22:31:45 -07:00
Jason Kulatunga 0d7d64e089 make sure we delete invalid keys if they fail validation. 2022-10-17 22:40:47 -07:00
Jason Kulatunga 53c0c66ceb
Merge pull request #8 from fastenhealth/encryption 2022-10-17 22:24:37 -07:00
Jason Kulatunga be93fef13c added wizard steps to validate imported encryption keys and validate generated encryption keys. 2022-10-17 22:21:38 -07:00
Jason Kulatunga 62b795319e fix tests. 2022-10-17 20:29:04 -07:00
Jason Kulatunga 09d667b5e5 fixed logged in user. 2022-10-17 08:11:09 -07:00
Jason Kulatunga f751470a50 working encryption at rest and import/export of encryption key data.
Created a Security manager page to handle generating and importing crypto data.
2022-10-16 23:03:06 -07:00
Jason Kulatunga 75e858d0f2 working encryption at rest.
Medicare storage isnt working on first init - but Sync works fine.
2022-10-16 12:09:22 -07:00
Jason Kulatunga 1b0bfab2ac fixing tabbing 2022-10-15 13:58:02 -07:00
Jason Kulatunga ad2852e1ef fixing tabbing 2022-10-15 13:57:28 -07:00
Jason Kulatunga 693e08c06f fixing tabbing 2022-10-15 13:56:37 -07:00
Jason Kulatunga 78c989f03b fixing tabbing 2022-10-15 13:54:13 -07:00
Jason Kulatunga 453a2154d8 fixing tabbing 2022-10-15 13:53:19 -07:00
Jason Kulatunga ccfa92f635 updates 2022-10-15 13:51:28 -07:00
Jason Kulatunga 2a63c5a2d6 updating docs. 2022-10-15 13:33:38 -07:00
Jason Kulatunga 58736e2695 disable global check 2022-10-15 08:27:48 -07:00
Jason Kulatunga 38b7e6ccef update node version. 2022-10-14 09:23:35 -07:00
Jason Kulatunga c863956316 fix config. 2022-10-14 09:22:29 -07:00
Jason Kulatunga 16a95657f1 fix config. 2022-10-14 09:19:51 -07:00
Jason Kulatunga c15e86d77f fix config. 2022-10-14 09:16:53 -07:00
Jason Kulatunga 22713835ef fixing CI. 2022-10-14 09:09:16 -07:00