Commit 9b7a678
11 adapt to reference implementation (#12)
* Add FAPI URL and BAPI URL to config.
* Adapt issuer validation
* Rename short-term session to session-token
* Bump release version to 2.0.0
* Rename get_and_validate_short_session_value to validate_token
* Change validate_token error handling, add new exception type for session service
* Adapt existing token validation tests to new error handling
* Add new tests to session service for issuer validation and false private key
* Add new test for issuer validation in session service
* Update README.md
* Remove session_token_cookie_name
* Reorder required fields for configuration
* Improved exception handling, renamed error codes
* Change CORBADO_FRONTEND_API from variable to secret
* reduce public fields of session service
* update session token validation example
* adjust workflow to use var instead of secret
* return to public fields to make pydantic happy
* Enable CI/CD on changes on merge request
* Increase maximum line length on linting
* Run CI/CD on Github Issue naming pattern
* satisfy mypy
* update generated client and openapi specs
* enforce no trailing slashes in config urls
* remove last_session_token_validation_result from session_service.py
* satisfy flake8
* remove all usages of _set_validation_error
* adjust test_set_cname_expect_issuer_changed to new url validation expectations
* satisfy mypy
* remove unnecessary file
---------
Co-authored-by: Lukas Kratzel <lukas.kratzel2004@gmail.com>1 parent 2e8c598 commit 9b7a678
67 files changed
Lines changed: 3642 additions & 323 deletions
File tree
- .github/workflows
- scripts
- src/corbado_python_sdk
- entities
- exceptions
- generated
- api
- models
- services/implementation
- utils
- tests
- unit
- test_data
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
67 | 70 | | |
68 | 71 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
73 | 77 | | |
74 | 78 | | |
75 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments