Jens Langhammer
ac1e16675c
start re-writing validation for item matching
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:37 +01:00
Jens Langhammer
7599d48a25
re-gen migrations, implement one half of number matching
...
this also treats accept/deny as "number" matching (we call it item matching to make it more general), since it's just a more static version of selecting the correct thing
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:37 +01:00
Jens Langhammer
9180bb6328
include numbers for testing
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:36 +01:00
Jens Langhammer
fd22e1f08d
allow mobile device token to retrieve user info
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:36 +01:00
Jens Langhammer
ba4dd7f1d2
placeholder device_id
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:36 +01:00
Jens Langhammer
76ac14cb5a
create app correctly
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:36 +01:00
Jens Langhammer
7a70f7ccb4
fix enroll
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:36 +01:00
Jens Langhammer
713f8d6a19
only consider non expired tokens
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:36 +01:00
Jens Langhammer
94ffb224e3
generate device with random name as we need to create them in the database
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:36 +01:00
Jens Langhammer
bbfefc40d4
fix lint
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:36 +01:00
Jens Langhammer
591f2b8c4e
move firebase config to db for testing
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:36 +01:00
Jens Langhammer
51e4623214
lazy import firebase
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:36 +01:00
Jens Langhammer
587a57a11e
fix user settings
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:36 +01:00
Jens Langhammer
57bf4398f0
fix import
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:36 +01:00
Jens Langhammer
64c48285d2
set auth_via when using mobile token
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:36 +01:00
Jens Langhammer
268c5c7c6d
add logic for checkin
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:36 +01:00
Jens Langhammer
d7725ced6f
have schema in a more general place
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:36 +01:00
Jens Langhammer
ae290f87e9
add mobile only subset schema
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:36 +01:00
Jens Langhammer
5e2ed504bf
implement more
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:36 +01:00
Jens Langhammer
628b130122
set device name from hostname
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:36 +01:00
Jens Langhammer
cda379f4ba
add transaction states
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:36 +01:00
Jens Langhammer
a84f76be4d
move sending code into mobiletransaction model
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:35 +01:00
Jens Langhammer
7515567882
start checkin
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:35 +01:00
Jens Langhammer
b5723bcee2
fix more stuff
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:35 +01:00
Jens Langhammer
aba225f223
fix web
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:35 +01:00
Jens Langhammer
b1023fbc01
fix inheritance
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:35 +01:00
Jens Langhammer
d905b1438f
update defaults
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:35 +01:00
Jens Langhammer
14ab9a9f1b
strings
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:35 +01:00
Jens Langhammer
f4a18d1778
more fixes, start implementing validate
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:35 +01:00
Jens Langhammer
2c01e6a19a
make challenge submit
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:35 +01:00
Jens Langhammer
b5634f4e2c
add temporary firebase
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:35 +01:00
Jens Langhammer
e6a9d37df4
add endpoint to check device status
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:35 +01:00
Jens Langhammer
721769261c
fix QR
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:35 +01:00
Jens Langhammer
9c0325b0f4
implement more of the API
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:35 +01:00
Jens Langhammer
9d8a154802
change mobile device pk to uuid
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:35 +01:00
Jens Langhammer
e0b74fe4be
move functions to device
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:34 +01:00
Jens Langhammer
f4f50a01c2
only cache API schema in prod
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:34 +01:00
Jens Langhammer
130ec2128d
fix stuff
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:34 +01:00
Jens Langhammer
4813bd033e
fix context
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:34 +01:00
Jens Langhammer
ae7b8ce03c
fix lint
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:34 +01:00
Jens Langhammer
1a392275d4
cleanup
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:34 +01:00
Jens Langhammer
b177d14e50
change enrollment to post
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:34 +01:00
Jens Langhammer
8f60e4825e
use more minimal payload for QR code sake
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:34 +01:00
Jens Langhammer
6e9c3affc8
initial scaffold
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:19:34 +01:00
Jens L
b7532740ef
root: fix static templates ( #7925 )
...
* root: fix static HTML templates to match flow executor
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* remove top margin on smaller viewports
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 13:59:53 +01:00
authentik-automation[bot]
67b47f42c7
web: bump API Client version ( #7924 )
...
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: authentik-automation[bot] <135050075+authentik-automation[bot]@users.noreply.github.com>
2023-12-19 12:46:04 +00:00
Jens L
3e530cf1b5
flows: add "require outpost" authentication_requirement ( #7921 )
...
* migrate get_client_ip to middleware
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* use middleware directly without wrapper
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* add require_outpost setting for flows
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* fix
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* add tests
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* update schema
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* update web ui
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* fixup
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* improve fallback
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 13:32:10 +01:00
Jens L
e86640e930
website/integrations: update azure AD integration ( #7922 )
...
* website/integrations: update azure AD integration
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
* Optimised images with calibre/image-actions
---------
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: authentik-automation[bot] <135050075+authentik-automation[bot]@users.noreply.github.com>
2023-12-19 13:27:39 +01:00
dependabot[bot]
0156249123
web: bump the wdio group in /tests/wdio with 4 updates ( #7917 )
...
Bumps the wdio group in /tests/wdio with 4 updates: [@wdio/cli](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-cli ), [@wdio/local-runner](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-local-runner ), [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-mocha-framework ) and [@wdio/spec-reporter](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-spec-reporter ).
Updates `@wdio/cli` from 8.26.2 to 8.26.3
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/commits/v8.26.3/packages/wdio-cli )
Updates `@wdio/local-runner` from 8.26.2 to 8.26.3
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/commits/v8.26.3/packages/wdio-local-runner )
Updates `@wdio/mocha-framework` from 8.26.2 to 8.26.3
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/commits/v8.26.3/packages/wdio-mocha-framework )
Updates `@wdio/spec-reporter` from 8.26.2 to 8.26.3
- [Release notes](https://github.com/webdriverio/webdriverio/releases )
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md )
- [Commits](https://github.com/webdriverio/webdriverio/commits/v8.26.3/packages/wdio-spec-reporter )
---
updated-dependencies:
- dependency-name: "@wdio/cli"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: wdio
- dependency-name: "@wdio/local-runner"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: wdio
- dependency-name: "@wdio/mocha-framework"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: wdio
- dependency-name: "@wdio/spec-reporter"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: wdio
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 11:21:38 +01:00
dependabot[bot]
4b8fb139ca
core: bump goauthentik.io/api/v3 from 3.2023104.2 to 3.2023104.3 ( #7912 )
...
Bumps [goauthentik.io/api/v3](https://github.com/goauthentik/client-go ) from 3.2023104.2 to 3.2023104.3.
- [Release notes](https://github.com/goauthentik/client-go/releases )
- [Commits](https://github.com/goauthentik/client-go/compare/v3.2023104.2...v3.2023104.3 )
---
updated-dependencies:
- dependency-name: goauthentik.io/api/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 11:20:44 +01:00