Commit Graph

13403 Commits

Author SHA1 Message Date
Jens Langhammer 228ebade27
update cgw api client
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:05 +01:00
Jens Langhammer 9f685c5da6
fix friendly name not allowing blank, fix static authenticator stage's name
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:05 +01:00
Jens Langhammer ac8145c249
fix order for validation stage
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:05 +01:00
Jens Langhammer 00ea472fb9
select first hosted cgw by default
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:05 +01:00
Jens Langhammer 71175a5cd5
add link about enterprise when using a hosted cgw
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:05 +01:00
Jens Langhammer b6c4ba6594
add default mobile setup flow
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:05 +01:00
Jens Langhammer 07ea6f9dee
include branding and user in context
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:05 +01:00
Jens Langhammer 7d9b66b6e6
show device state in webui
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:05 +01:00
Jens Langhammer 90606fabf9
set firebase key with checkin
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:05 +01:00
Jens Langhammer 76498a2d7b
allow setting firebase api key while sending enrollment callback
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:05 +01:00
Jens Langhammer c90d35b113
fix geoip usage
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:05 +01:00
Jens Langhammer e425eaee1f
bump, use new api structure
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:05 +01:00
Jens Langhammer 245737b683
fix API
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:04 +01:00
Jens Langhammer 5db3c76570
use main pypi
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:04 +01:00
Jens Langhammer 1e81490c93
don't log mobiledevicetoken
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:04 +01:00
Jens Langhammer e496d86e2b
use uuid for mobile token
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:04 +01:00
Jens Langhammer 2c71d5714b
fix mobile users/me auth
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:04 +01:00
Jens Langhammer c19e12d1e1
fix web to support string for device uuid
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:04 +01:00
Jens Langhammer adcfb3092e
add slight workaround
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:04 +01:00
Jens Langhammer 4a1332290f
handle grpc error
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:04 +01:00
Jens Langhammer 02cfc80b9f
revert to old method of checking
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:04 +01:00
Jens Langhammer 3c59a60152
fix channel creation
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:04 +01:00
Jens Langhammer 49eddd0b75
fix incorrect usage of ssl_channel_credentials
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:04 +01:00
Jens Langhammer 63fea84405
fix tests and lint
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:04 +01:00
Jens Langhammer 8797b6309f
bump client
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:04 +01:00
Jens Langhammer cf93445b3f
get enterprise token
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:04 +01:00
Jens Langhammer 938f6fe439
use + addressing for enterprise feedback emails
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:04 +01:00
Jens Langhammer 0873b4a446
add UI for hosted
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:03 +01:00
Jens Langhammer 41387e413f
switch to text field, add debug mode
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:03 +01:00
Jens Langhammer edccf3331a
migrate to cloud gateway
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:03 +01:00
Jens Langhammer 55f53e64e9
add UI to show code, add validation
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:03 +01:00
Jens Langhammer 0a254bea58
start re-writing validation for item matching
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:03 +01:00
Jens Langhammer 97871ecd6c
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>
2024-01-09 12:28:03 +01:00
Jens Langhammer afc347ddeb
include numbers for testing
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:03 +01:00
Jens Langhammer 7720c80d5b
allow mobile device token to retrieve user info
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:03 +01:00
Jens Langhammer fff963e5e2
placeholder device_id
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:03 +01:00
Jens Langhammer 956d8f1125
create app correctly
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:03 +01:00
Jens Langhammer db30a62368
fix enroll
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:03 +01:00
Jens Langhammer 01cebcfcec
only consider non expired tokens
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:03 +01:00
Jens Langhammer e176e11b82
generate device with random name as we need to create them in the database
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:03 +01:00
Jens Langhammer 5adbae40ea
fix lint
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:02 +01:00
Jens Langhammer 00fb77e3da
move firebase config to db for testing
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:02 +01:00
Jens Langhammer 9edccb1a9d
lazy import firebase
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:02 +01:00
Jens Langhammer 25e7fc58b3
fix user settings
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:02 +01:00
Jens Langhammer b91fb7cefb
fix import
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:02 +01:00
Jens Langhammer a8f825545f
set auth_via when using mobile token
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:02 +01:00
Jens Langhammer 757d179ae5
add logic for checkin
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:02 +01:00
Jens Langhammer 38ae3f272e
have schema in a more general place
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:02 +01:00
Jens Langhammer 5cf7726ef2
add mobile only subset schema
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:02 +01:00
Jens Langhammer c55f88d4df
implement more
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
2024-01-09 12:28:02 +01:00