1049 Commits

Author SHA1 Message Date
mike cullerton
8e1075406f Merge branch 'main' into bug/refresh-token
# Conflicts:
#	migrations/versions/07ff3fbef405_.py
#	migrations/versions/9e14b40371f3_.py
#	migrations/versions/c98445562ced_.py
#	src/spiffworkflow_backend/services/authentication_service.py
2022-10-20 11:54:25 -04:00
mike cullerton
476e36c7d0 mypy changes 2022-10-20 11:40:35 -04:00
mike cullerton
6403e62c0e Fix migration after merging main 2022-10-20 11:30:28 -04:00
jasquat
b285ba1a1c added updated columns to secrets and updated flask-bpmn 2022-10-20 10:29:13 -04:00
burnettk
f9c2fa21ec lint 2022-10-20 07:15:20 -04:00
burnettk
287d10494e only do startswith when it is a string 2022-10-20 07:14:30 -04:00
burnettk
80c5357b9b lint 2022-10-19 20:58:54 -04:00
Dan
af8dd9e2d6 Merge branch 'main' of github.com:sartography/spiffworkflow-backend into main 2022-10-19 19:32:08 -04:00
Dan
2f40b0d7fa Post, Not Get -- to the connector proxy
Allow insane large task data in the database
2022-10-19 19:30:18 -04:00
jasquat
22bc667585 allow request to be 8k w/ burnettk 2022-10-19 16:14:32 -04:00
jasquat
6c573bb645 remove standlone from api yaml since it is no longer used w/ burnettk 2022-10-19 15:23:34 -04:00
jasquat
72049c0041 added authentication callback endpoint. w/ burnettk, cullerton, jbirddog 2022-10-19 14:19:12 -04:00
jasquat
1902b785d9 updated flask-bpmn w/ burnettk cullerton 2022-10-19 10:43:26 -04:00
jasquat
57ba8e0c82 also set up the config for hacked app w/ burnettk 2022-10-18 17:29:31 -04:00
jasquat
045fe9c93a configure sentry in hacked up app w/ burnettk 2022-10-18 17:10:59 -04:00
jasquat
fd1a273d3b save process instance even it fails w/ burnettk 2022-10-18 17:05:18 -04:00
jasquat
d0336039c5 added api endpoint to get the auth list from connector proxy w/ burnettk 2022-10-18 16:40:25 -04:00
Kevin Burnett
ca13f0ca5d
Merge pull request #142 from sartography/bugfix/clean_up_non_existant_workflow_types_and_libraries
Bugfix/clean up non existent workflow types and libraries
2022-10-18 20:35:09 +00:00
burnettk
304ee66b49 lint 2022-10-18 16:34:37 -04:00
Dan
935c883b01 migration. 2022-10-18 16:17:29 -04:00
Dan
1f99264c0f Remove all references to the MasterWorkflow, standalone workflows, and libraries, as these concepts should no longer exist. 2022-10-18 16:11:38 -04:00
jasquat
a7a83a97cf Merge branch 'main' of github.com:sartography/spiffworkflow-backend 2022-10-18 16:07:39 -04:00
jasquat
6ce1cdb043 updated flask-bpmn for new ApiError. w/ burnettk 2022-10-18 16:07:33 -04:00
Kevin Burnett
796735e899
Merge pull request #141 from sartography/bugfix/allow-strptime-in-scripts
Bugfix/allow strptime in scripts
2022-10-18 20:04:30 +00:00
Dan
5e13a23912 Remove the "master_spec" 2022-10-18 15:55:50 -04:00
jasquat
ffb6d366f9 added natalia to keycloak configs w/ burnettk 2022-10-18 10:19:32 -04:00
burnettk
2fbc6777bd filter out NotFound from our sentry alerts and fix a bunch of typing things 2022-10-18 07:09:03 -04:00
burnettk
823e32eb8e smash all containers 2022-10-17 21:35:23 -04:00
burnettk
bad7513c32 keycloak docker build for prod image 2022-10-17 21:25:05 -04:00
burnettk
1965bfe2d9 use ssl 2022-10-17 17:36:33 -04:00
jasquat
47554b0739 updated keycloak to accept demo.spiffworkflow url w/ burnettk 2022-10-17 17:09:42 -04:00
mike cullerton
201a6918a0 pyl changes 2022-10-17 17:03:34 -04:00
mike cullerton
a6112f7fb5 Merge branch 'main' into bug/refresh-token 2022-10-17 16:57:33 -04:00
mike cullerton
87f65a6c62 auth_token should be dictionary, not string 2022-10-17 16:56:31 -04:00
mike cullerton
f163de61c2 pyl 2022-10-17 12:54:29 -04:00
mike cullerton
1f443bb946 PublicAuthenticationService -> AuthenticationService 2022-10-17 12:43:17 -04:00
mike cullerton
6c491a3df3 Don't refresh token here. They just logged in. We are validating the returned token. If it is bad, raise an error. 2022-10-17 12:38:47 -04:00
mike cullerton
91b8649f86 id_token -> auth_token 2022-10-17 12:37:55 -04:00
mike cullerton
fc94774bb5 Move store_refresh_token to authentication_service 2022-10-17 12:37:22 -04:00
mike cullerton
00d66e9c51 mypy 2022-10-17 12:02:29 -04:00
mike cullerton
c4e415dbee mypy 2022-10-17 11:57:58 -04:00
mike cullerton
1e75716ebd Pre commit 2022-10-17 11:46:39 -04:00
mike cullerton
a72b03e092 Rename method. We pass it auth_tokens, not id_tokens 2022-10-17 11:39:22 -04:00
mike cullerton
9a6700a6d5 Too many things expect g.token. Reverting my change 2022-10-17 11:28:09 -04:00
jasquat
248e79441f added environment to sentry configs w/ burnettk 2022-10-17 11:18:03 -04:00
mike cullerton
74883fb231 Noe store refresh_token, and try to use it if auth_token is expired
Renamed some methods to use correct token type
2022-10-17 11:10:47 -04:00
mike cullerton
be0557013e Cleanup - remove unused code 2022-10-17 10:54:54 -04:00
mike cullerton
cf01f0d514 Add refresh_token model 2022-10-17 10:51:47 -04:00
burnettk
2148c39fca no user input, please 2022-10-17 10:18:14 -04:00
burnettk
593f33ca52 wait for db to be ready option 2022-10-16 22:31:55 -04:00