Jens Langhammer
fe05ea6048
get enterprise token
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:20:16 +01:00
Jens Langhammer
0d45b36cf2
use + addressing for enterprise feedback emails
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:20:16 +01:00
Jens Langhammer
8c1d7b712e
add UI for hosted
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:20:15 +01:00
Jens Langhammer
dfe7e8641e
switch to text field, add debug mode
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:20:10 +01:00
Jens Langhammer
245153c6de
migrate to cloud gateway
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:20:10 +01:00
Jens Langhammer
247b7a7c87
add UI to show code, add validation
...
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2023-12-19 14:20:04 +01:00
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