-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add MFA support (disabled by default) #736
Commits on Jun 14, 2022
-
joel@joellee.org committed
Jun 14, 2022 Configuration menu - View commit details
-
Copy full SHA for 2e8505a - Browse repository at this point
Copy the full SHA 2e8505aView commit details -
joel@joellee.org committed
Jun 14, 2022 Configuration menu - View commit details
-
Copy full SHA for 1410733 - Browse repository at this point
Copy the full SHA 1410733View commit details -
fix: add additional constraints
joel@joellee.org committedJun 14, 2022 Configuration menu - View commit details
-
Copy full SHA for 9050cf8 - Browse repository at this point
Copy the full SHA 9050cf8View commit details -
joel@joellee.org committed
Jun 14, 2022 Configuration menu - View commit details
-
Copy full SHA for aaa3d99 - Browse repository at this point
Copy the full SHA aaa3d99View commit details -
joel@joellee.org committed
Jun 14, 2022 Configuration menu - View commit details
-
Copy full SHA for c4f8164 - Browse repository at this point
Copy the full SHA c4f8164View commit details -
joel@joellee.org committed
Jun 14, 2022 Configuration menu - View commit details
-
Copy full SHA for 0ca6741 - Browse repository at this point
Copy the full SHA 0ca6741View commit details -
fix: prevent updated_at from being nullable
joel@joellee.org committedJun 14, 2022 Configuration menu - View commit details
-
Copy full SHA for f83ab8e - Browse repository at this point
Copy the full SHA f83ab8eView commit details -
joel@joellee.org committed
Jun 14, 2022 Configuration menu - View commit details
-
Copy full SHA for 04eac13 - Browse repository at this point
Copy the full SHA 04eac13View commit details
Commits on Jun 15, 2022
-
joel@joellee.org committed
Jun 15, 2022 Configuration menu - View commit details
-
Copy full SHA for 6699405 - Browse repository at this point
Copy the full SHA 6699405View commit details -
joel@joellee.org committed
Jun 15, 2022 Configuration menu - View commit details
-
Copy full SHA for 76c0c6b - Browse repository at this point
Copy the full SHA 76c0c6bView commit details -
Merge branch 'master' of https://github.com/supabase/gotrue into j0_a…
…dd_enable_add_disable
joel@joellee.org committedJun 15, 2022 Configuration menu - View commit details
-
Copy full SHA for 8fd5ba8 - Browse repository at this point
Copy the full SHA 8fd5ba8View commit details -
joel@joellee.org committed
Jun 15, 2022 Configuration menu - View commit details
-
Copy full SHA for 146cb6f - Browse repository at this point
Copy the full SHA 146cb6fView commit details -
Merge branch 'master' of https://github.com/supabase/gotrue into j0_a…
…dd_db_changes
joel@joellee.org committedJun 15, 2022 Configuration menu - View commit details
-
Copy full SHA for e796995 - Browse repository at this point
Copy the full SHA e796995View commit details -
Merge branch 'j0_add_db_changes' of https://github.com/supabase/gotrue …
…into j0_add_enable_add_disable
joel@joellee.org committedJun 15, 2022 Configuration menu - View commit details
-
Copy full SHA for 6885b79 - Browse repository at this point
Copy the full SHA 6885b79View commit details -
refactor: rename backup codes to recovery codes
joel@joellee.org committedJun 15, 2022 Configuration menu - View commit details
-
Copy full SHA for b761423 - Browse repository at this point
Copy the full SHA b761423View commit details -
fix: update number of user fields
joel@joellee.org committedJun 15, 2022 Configuration menu - View commit details
-
Copy full SHA for 3afbc97 - Browse repository at this point
Copy the full SHA 3afbc97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 040e6d0 - Browse repository at this point
Copy the full SHA 040e6d0View commit details -
joel@joellee.org committed
Jun 15, 2022 Configuration menu - View commit details
-
Copy full SHA for 9cdc5d5 - Browse repository at this point
Copy the full SHA 9cdc5d5View commit details -
Merge branch 'j0_add_enable_add_disable' of https://github.com/supaba…
…se/gotrue into j0_add_enable_add_disable
joel@joellee.org committedJun 15, 2022 Configuration menu - View commit details
-
Copy full SHA for dc31a46 - Browse repository at this point
Copy the full SHA dc31a46View commit details -
joel@joellee.org committed
Jun 15, 2022 Configuration menu - View commit details
-
Copy full SHA for ce8f5b3 - Browse repository at this point
Copy the full SHA ce8f5b3View commit details
Commits on Jun 16, 2022
-
feat: add initial modles for factor
joel@joellee.org committedJun 16, 2022 Configuration menu - View commit details
-
Copy full SHA for 6349e8f - Browse repository at this point
Copy the full SHA 6349e8fView commit details -
joel@joellee.org committed
Jun 16, 2022 Configuration menu - View commit details
-
Copy full SHA for 4f5895e - Browse repository at this point
Copy the full SHA 4f5895eView commit details -
feat: initial commit for challenge API
joel@joellee.org committedJun 16, 2022 Configuration menu - View commit details
-
Copy full SHA for 0fa9752 - Browse repository at this point
Copy the full SHA 0fa9752View commit details -
refactor: add logic for filtering between factorid and simple name
joel@joellee.org committedJun 16, 2022 Configuration menu - View commit details
-
Copy full SHA for 680941a - Browse repository at this point
Copy the full SHA 680941aView commit details -
refactor: split based on factor simple name or id
joel@joellee.org committedJun 16, 2022 Configuration menu - View commit details
-
Copy full SHA for 53c089d - Browse repository at this point
Copy the full SHA 53c089dView commit details -
refactor: make endpoints idempotent
joel@joellee.org committedJun 16, 2022 Configuration menu - View commit details
-
Copy full SHA for 9c9516b - Browse repository at this point
Copy the full SHA 9c9516bView commit details -
joel@joellee.org committed
Jun 16, 2022 Configuration menu - View commit details
-
Copy full SHA for f4e7a2f - Browse repository at this point
Copy the full SHA f4e7a2fView commit details -
joel@joellee.org committed
Jun 16, 2022 Configuration menu - View commit details
-
Copy full SHA for cb6a175 - Browse repository at this point
Copy the full SHA cb6a175View commit details -
chore: naming and initial tests
joel@joellee.org committedJun 16, 2022 Configuration menu - View commit details
-
Copy full SHA for 4c7ae3f - Browse repository at this point
Copy the full SHA 4c7ae3fView commit details -
test: add model test for good measure
joel@joellee.org committedJun 16, 2022 Configuration menu - View commit details
-
Copy full SHA for c7bdbc4 - Browse repository at this point
Copy the full SHA c7bdbc4View commit details
Commits on Jun 17, 2022
-
joel@joellee.org committed
Jun 17, 2022 Configuration menu - View commit details
-
Copy full SHA for fef5980 - Browse repository at this point
Copy the full SHA fef5980View commit details -
fix: change method definitions
joel@joellee.org committedJun 17, 2022 Configuration menu - View commit details
-
Copy full SHA for c191073 - Browse repository at this point
Copy the full SHA c191073View commit details
Commits on Jun 20, 2022
-
initial commit for verify factor
joel@joellee.org committedJun 20, 2022 Configuration menu - View commit details
-
Copy full SHA for 3027ef9 - Browse repository at this point
Copy the full SHA 3027ef9View commit details -
test: add tests, remove factor_ prefix
joel@joellee.org committedJun 20, 2022 Configuration menu - View commit details
-
Copy full SHA for 55dee45 - Browse repository at this point
Copy the full SHA 55dee45View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e86dbf - Browse repository at this point
Copy the full SHA 3e86dbfView commit details
Commits on Jun 21, 2022
-
joel@joellee.org committed
Jun 21, 2022 Configuration menu - View commit details
-
Copy full SHA for b1fa20a - Browse repository at this point
Copy the full SHA b1fa20aView commit details -
joel@joellee.org committed
Jun 21, 2022 Configuration menu - View commit details
-
Copy full SHA for 4ea0986 - Browse repository at this point
Copy the full SHA 4ea0986View commit details
Commits on Jun 22, 2022
-
joel@joellee.org committed
Jun 22, 2022 Configuration menu - View commit details
-
Copy full SHA for 023f584 - Browse repository at this point
Copy the full SHA 023f584View commit details -
chore: merge in downstream changes
joel@joellee.org committedJun 22, 2022 Configuration menu - View commit details
-
Copy full SHA for d1be5ff - Browse repository at this point
Copy the full SHA d1be5ffView commit details -
refactor: remove whitespace changes and minor labels
joel@joellee.org committedJun 22, 2022 Configuration menu - View commit details
-
Copy full SHA for 285ac43 - Browse repository at this point
Copy the full SHA 285ac43View commit details -
Merge branch 'j0_generate_recovery_codes' of https://github.com/supab…
…ase/gotrue into j0_generate_recovery_codes
joel@joellee.org committedJun 22, 2022 Configuration menu - View commit details
-
Copy full SHA for 0c99b1c - Browse repository at this point
Copy the full SHA 0c99b1cView commit details
Commits on Jun 29, 2022
-
joel@joellee.org committed
Jun 29, 2022 Configuration menu - View commit details
-
Copy full SHA for d26c628 - Browse repository at this point
Copy the full SHA d26c628View commit details
Commits on Jun 30, 2022
-
refactor: add states for factor_status
joel@joellee.org committedJun 30, 2022 Configuration menu - View commit details
-
Copy full SHA for e98ff1e - Browse repository at this point
Copy the full SHA e98ff1eView commit details -
joel@joellee.org committed
Jun 30, 2022 Configuration menu - View commit details
-
Copy full SHA for 77c1fa8 - Browse repository at this point
Copy the full SHA 77c1fa8View commit details -
joel@joellee.org committed
Jun 30, 2022 Configuration menu - View commit details
-
Copy full SHA for 1bebb39 - Browse repository at this point
Copy the full SHA 1bebb39View commit details -
refactor: change bools to timestamps
joel@joellee.org committedJun 30, 2022 Configuration menu - View commit details
-
Copy full SHA for 684e4fc - Browse repository at this point
Copy the full SHA 684e4fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61e46a8 - Browse repository at this point
Copy the full SHA 61e46a8View commit details -
joel@joellee.org committed
Jun 30, 2022 Configuration menu - View commit details
-
Copy full SHA for 76e42aa - Browse repository at this point
Copy the full SHA 76e42aaView commit details -
Merge pull request #500 from supabase/j0_add_enable_add_disable
Add Enable and Disable toggles
Configuration menu - View commit details
-
Copy full SHA for 21e32da - Browse repository at this point
Copy the full SHA 21e32daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 14ba5f1 - Browse repository at this point
Copy the full SHA 14ba5f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8a0537 - Browse repository at this point
Copy the full SHA d8a0537View commit details -
Configuration menu - View commit details
-
Copy full SHA for 124ff88 - Browse repository at this point
Copy the full SHA 124ff88View commit details -
refactor: change recovery code ID type to uuid
joel@joellee.org committedJun 30, 2022 Configuration menu - View commit details
-
Copy full SHA for aa81ee8 - Browse repository at this point
Copy the full SHA aa81ee8View commit details -
fix: set length of token back to 8
joel@joellee.org committedJun 30, 2022 Configuration menu - View commit details
-
Copy full SHA for 8948b71 - Browse repository at this point
Copy the full SHA 8948b71View commit details -
refactor: revert code consumption time to used_at
joel@joellee.org committedJun 30, 2022 Configuration menu - View commit details
-
Copy full SHA for b025bdd - Browse repository at this point
Copy the full SHA b025bddView commit details
Commits on Jul 1, 2022
-
test: add test for FindValidRecoveryCodesByUser
joel@joellee.org committedJul 1, 2022 Configuration menu - View commit details
-
Copy full SHA for 23090cd - Browse repository at this point
Copy the full SHA 23090cdView commit details -
refactor: convert var names to lowercase
joel@joellee.org committedJul 1, 2022 Configuration menu - View commit details
-
Copy full SHA for f3ac106 - Browse repository at this point
Copy the full SHA f3ac106View commit details -
fix: add error check at end of GenerateRecoveryCodes
joel@joellee.org committedJul 1, 2022 Configuration menu - View commit details
-
Copy full SHA for 5e27983 - Browse repository at this point
Copy the full SHA 5e27983View commit details -
joel@joellee.org committed
Jul 1, 2022 Configuration menu - View commit details
-
Copy full SHA for 9d0618f - Browse repository at this point
Copy the full SHA 9d0618fView commit details -
Merge pull request #501 from supabase/j0_generate_recovery_codes
Generate Recovery Codes
Configuration menu - View commit details
-
Copy full SHA for a457637 - Browse repository at this point
Copy the full SHA a457637View commit details -
feat: pull in changes from main branch
joel@joellee.org committedJul 1, 2022 Configuration menu - View commit details
-
Copy full SHA for 7642d65 - Browse repository at this point
Copy the full SHA 7642d65View commit details -
chore: resolve errors.go merge conflicts
joel@joellee.org committedJul 1, 2022 Configuration menu - View commit details
-
Copy full SHA for 5d546b6 - Browse repository at this point
Copy the full SHA 5d546b6View commit details -
refactor: update tests with new naming scheme
joel@joellee.org committedJul 1, 2022 Configuration menu - View commit details
-
Copy full SHA for de3184a - Browse repository at this point
Copy the full SHA de3184aView commit details
Commits on Jul 2, 2022
-
joel@joellee.org committed
Jul 2, 2022 Configuration menu - View commit details
-
Copy full SHA for 36f8ac5 - Browse repository at this point
Copy the full SHA 36f8ac5View commit details -
fix: update tests with new names
joel@joellee.org committedJul 2, 2022 Configuration menu - View commit details
-
Copy full SHA for c653135 - Browse repository at this point
Copy the full SHA c653135View commit details -
joel@joellee.org committed
Jul 2, 2022 Configuration menu - View commit details
-
Copy full SHA for 4f2460a - Browse repository at this point
Copy the full SHA 4f2460aView commit details
Commits on Jul 3, 2022
-
tests: refactor and add initial enroll factor tests
joel@joellee.org committedJul 3, 2022 Configuration menu - View commit details
-
Copy full SHA for 1ae17b7 - Browse repository at this point
Copy the full SHA 1ae17b7View commit details -
fix: add associations from factor to user
joel@joellee.org committedJul 3, 2022 Configuration menu - View commit details
-
Copy full SHA for 006d478 - Browse repository at this point
Copy the full SHA 006d478View commit details
Commits on Jul 4, 2022
-
joel@joellee.org committed
Jul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 6edf167 - Browse repository at this point
Copy the full SHA 6edf167View commit details -
refactor: cleanup magic strings
joel@joellee.org committedJul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for ea4d346 - Browse repository at this point
Copy the full SHA ea4d346View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ec3dfb - Browse repository at this point
Copy the full SHA 5ec3dfbView commit details -
joel@joellee.org committed
Jul 4, 2022 Configuration menu - View commit details
-
Copy full SHA for ccdc78f - Browse repository at this point
Copy the full SHA ccdc78fView commit details
Commits on Jul 5, 2022
-
chore: introduce new factor type
joel@joellee.org committedJul 5, 2022 Configuration menu - View commit details
-
Copy full SHA for 2bd0dfc - Browse repository at this point
Copy the full SHA 2bd0dfcView commit details -
fix: merge mfa into verify_factor
joel@joellee.org committedJul 5, 2022 Configuration menu - View commit details
-
Copy full SHA for 6b8b9d0 - Browse repository at this point
Copy the full SHA 6b8b9d0View commit details -
joel@joellee.org committed
Jul 5, 2022 Configuration menu - View commit details
-
Copy full SHA for 60c800b - Browse repository at this point
Copy the full SHA 60c800bView commit details -
test: update verify factor test
joel@joellee.org committedJul 5, 2022 Configuration menu - View commit details
-
Copy full SHA for 141a71f - Browse repository at this point
Copy the full SHA 141a71fView commit details
Commits on Jul 11, 2022
-
joel@joellee.org committed
Jul 11, 2022 Configuration menu - View commit details
-
Copy full SHA for 327c9f1 - Browse repository at this point
Copy the full SHA 327c9f1View commit details -
Merge pull request #502 from supabase/j0_enroll_device
Add Enroll endpoint
Configuration menu - View commit details
-
Copy full SHA for 9deae93 - Browse repository at this point
Copy the full SHA 9deae93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32e093f - Browse repository at this point
Copy the full SHA 32e093fView commit details
Commits on Jul 12, 2022
-
refactor: add struct tas and change route names
joel@joellee.org committedJul 12, 2022 Configuration menu - View commit details
-
Copy full SHA for f176f92 - Browse repository at this point
Copy the full SHA f176f92View commit details -
refactor: add struct tags and change route names
joel@joellee.org committedJul 12, 2022 Configuration menu - View commit details
-
Copy full SHA for d4a5281 - Browse repository at this point
Copy the full SHA d4a5281View commit details -
Merge pull request #504 from supabase/j0_challenge_factor
Add Challenge Factor
Configuration menu - View commit details
-
Copy full SHA for 1599ea8 - Browse repository at this point
Copy the full SHA 1599ea8View commit details -
joel@joellee.org committed
Jul 12, 2022 Configuration menu - View commit details
-
Copy full SHA for 55a3bdf - Browse repository at this point
Copy the full SHA 55a3bdfView commit details
Commits on Jul 19, 2022
-
chore: reintroduce uncommented lines
joel@joellee.org committedJul 19, 2022 Configuration menu - View commit details
-
Copy full SHA for e507103 - Browse repository at this point
Copy the full SHA e507103View commit details
Commits on Jul 20, 2022
-
joel@joellee.org committed
Jul 20, 2022 Configuration menu - View commit details
-
Copy full SHA for 46e6586 - Browse repository at this point
Copy the full SHA 46e6586View commit details -
chore: add misc config vars and errors
joel@joellee.org committedJul 20, 2022 Configuration menu - View commit details
-
Copy full SHA for 44c3baa - Browse repository at this point
Copy the full SHA 44c3baaView commit details -
tests: Add additional case for expried challenge + invalid code
joel@joellee.org committedJul 20, 2022 Configuration menu - View commit details
-
Copy full SHA for 4504906 - Browse repository at this point
Copy the full SHA 4504906View commit details
Commits on Jul 21, 2022
-
joel@joellee.org committed
Jul 21, 2022 Configuration menu - View commit details
-
Copy full SHA for 7c06b18 - Browse repository at this point
Copy the full SHA 7c06b18View commit details -
joel@joellee.org committed
Jul 21, 2022 Configuration menu - View commit details
-
Copy full SHA for 718b501 - Browse repository at this point
Copy the full SHA 718b501View commit details -
joel@joellee.org committed
Jul 21, 2022 Configuration menu - View commit details
-
Copy full SHA for 1c71c1d - Browse repository at this point
Copy the full SHA 1c71c1dView commit details
Commits on Jul 26, 2022
-
refactor: delete challenge if expired
joel@joellee.org committedJul 26, 2022 Configuration menu - View commit details
-
Copy full SHA for d70fce4 - Browse repository at this point
Copy the full SHA d70fce4View commit details -
Merge pull request #508 from supabase/j0_verify_factor
Add Verify endpoint
Configuration menu - View commit details
-
Copy full SHA for 560cbc7 - Browse repository at this point
Copy the full SHA 560cbc7View commit details -
feat: remove unused fields, change recovery_codes from GET to POST
joel@joellee.org committedJul 26, 2022 Configuration menu - View commit details
-
Copy full SHA for beddffd - Browse repository at this point
Copy the full SHA beddffdView commit details -
refactor: remove type field from endpoint
joel@joellee.org committedJul 26, 2022 Configuration menu - View commit details
-
Copy full SHA for a3ed021 - Browse repository at this point
Copy the full SHA a3ed021View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5088b2 - Browse repository at this point
Copy the full SHA e5088b2View commit details -
On a not-so-good laptop, a full test run went from ~90seconds to less than 10. Three independent changes were made: 1 - In TruncateAll, use `delete from` instead of `truncate`. While truncate is faster for large tables, for small tables, it has considerably more overhead (my understanding is that delete just flags the tuple as dead, whereas truncate involves a vacuum-like operation). 2 - In tests, use bcrypt.MinCost instead of bcrypt.DefaultCost 3 - Use a 10 millisecond timeout, instead of 1 second timeout, for TestHookTimeout
Configuration menu - View commit details
-
Copy full SHA for 237f69a - Browse repository at this point
Copy the full SHA 237f69aView commit details -
Merge branch 'mfa' of https://github.com/supabase/gotrue into mfa
joel@joellee.org committedJul 26, 2022 Configuration menu - View commit details
-
Copy full SHA for 2ad9d68 - Browse repository at this point
Copy the full SHA 2ad9d68View commit details -
feat: add admin delete methods
joel@joellee.org committedJul 26, 2022 Configuration menu - View commit details
-
Copy full SHA for c65c136 - Browse repository at this point
Copy the full SHA c65c136View commit details -
joel@joellee.org committed
Jul 26, 2022 Configuration menu - View commit details
-
Copy full SHA for 524c990 - Browse repository at this point
Copy the full SHA 524c990View commit details -
Revert "feat: add admin delete methods"
This reverts commit c65c136.
joel@joellee.org committedJul 26, 2022 Configuration menu - View commit details
-
Copy full SHA for 0b63c9c - Browse repository at this point
Copy the full SHA 0b63c9cView commit details -
fix: change behavior of unenroll
joel@joellee.org committedJul 26, 2022 Configuration menu - View commit details
-
Copy full SHA for 0c36586 - Browse repository at this point
Copy the full SHA 0c36586View commit details
Commits on Jul 27, 2022
-
refactor: strip out /enable and /disable
joel@joellee.org committedJul 27, 2022 Configuration menu - View commit details
-
Copy full SHA for f68aedb - Browse repository at this point
Copy the full SHA f68aedbView commit details -
Revert "feat: add admin delete methods"
This reverts commit c65c136.
joel@joellee.org committedJul 27, 2022 Configuration menu - View commit details
-
Copy full SHA for 0e90d48 - Browse repository at this point
Copy the full SHA 0e90d48View commit details -
Merge pull request #568 from supabase/j0_refactor_endpoint_routes
Strip out Enable/Disable
Configuration menu - View commit details
-
Copy full SHA for 3274e85 - Browse repository at this point
Copy the full SHA 3274e85View commit details
Commits on Jul 28, 2022
-
joel@joellee.org committed
Jul 28, 2022 Configuration menu - View commit details
-
Copy full SHA for b50d0eb - Browse repository at this point
Copy the full SHA b50d0ebView commit details -
joel@joellee.org committed
Jul 28, 2022 Configuration menu - View commit details
-
Copy full SHA for 0c2c9fc - Browse repository at this point
Copy the full SHA 0c2c9fcView commit details
Commits on Jul 29, 2022
-
joel@joellee.org committed
Jul 29, 2022 Configuration menu - View commit details
-
Copy full SHA for b0e5dda - Browse repository at this point
Copy the full SHA b0e5ddaView commit details -
chore: increase number of requests made so expected error is observed
joel@joellee.org committedJul 29, 2022 Configuration menu - View commit details
-
Copy full SHA for 5374da8 - Browse repository at this point
Copy the full SHA 5374da8View commit details -
Revert "chore: increase number of requests made so expected error is …
…observed" This reverts commit 5374da8.
joel@joellee.org committedJul 29, 2022 Configuration menu - View commit details
-
Copy full SHA for bb24b9a - Browse repository at this point
Copy the full SHA bb24b9aView commit details -
Merge pull request #570 from supabase/j0_patch_mfa_routes
Refactor MFA Routes
Configuration menu - View commit details
-
Copy full SHA for 22effe7 - Browse repository at this point
Copy the full SHA 22effe7View commit details
Commits on Aug 1, 2022
-
joel@joellee.org committed
Aug 1, 2022 Configuration menu - View commit details
-
Copy full SHA for 0c7fed4 - Browse repository at this point
Copy the full SHA 0c7fed4View commit details -
chore: refactor MFA unenroll route
joel@joellee.org committedAug 1, 2022 Configuration menu - View commit details
-
Copy full SHA for 1a275ef - Browse repository at this point
Copy the full SHA 1a275efView commit details -
joel@joellee.org committed
Aug 1, 2022 Configuration menu - View commit details
-
Copy full SHA for 9f92e2e - Browse repository at this point
Copy the full SHA 9f92e2eView commit details -
chore: resolve merge conflicts
joel@joellee.org committedAug 1, 2022 Configuration menu - View commit details
-
Copy full SHA for f029a49 - Browse repository at this point
Copy the full SHA f029a49View commit details -
Merge pull request #566 from supabase/j0_mfa_unenroll
Add MFA Unenroll endpoint
Configuration menu - View commit details
-
Copy full SHA for 032c12f - Browse repository at this point
Copy the full SHA 032c12fView commit details -
joel@joellee.org committed
Aug 1, 2022 Configuration menu - View commit details
-
Copy full SHA for e62e000 - Browse repository at this point
Copy the full SHA e62e000View commit details -
fix: refactor and update audit log action types
joel@joellee.org committedAug 1, 2022 Configuration menu - View commit details
-
Copy full SHA for 84fb5ba - Browse repository at this point
Copy the full SHA 84fb5baView commit details -
Merge branch 'mfa' of https://github.com/supabase/gotrue into j0_admi…
…n_delete_endpoints
joel@joellee.org committedAug 1, 2022 Configuration menu - View commit details
-
Copy full SHA for 37c305d - Browse repository at this point
Copy the full SHA 37c305dView commit details -
tests: add additional checks for deletion endpoints
joel@joellee.org committedAug 1, 2022 Configuration menu - View commit details
-
Copy full SHA for 3e08ffb - Browse repository at this point
Copy the full SHA 3e08ffbView commit details
Commits on Aug 2, 2022
-
refactor: remove stray constants
joel@joellee.org committedAug 2, 2022 Configuration menu - View commit details
-
Copy full SHA for 31137e4 - Browse repository at this point
Copy the full SHA 31137e4View commit details -
refactor: remove stray lines and comments
joel@joellee.org committedAug 2, 2022 Configuration menu - View commit details
-
Copy full SHA for ce941f9 - Browse repository at this point
Copy the full SHA ce941f9View commit details -
refactor: remove notion of MFAEnabled
joel@joellee.org committedAug 2, 2022 Configuration menu - View commit details
-
Copy full SHA for 77aac52 - Browse repository at this point
Copy the full SHA 77aac52View commit details -
Merge pull request #579 from supabase/j0_remove_mfa_enabled_on_user
Completely Remove notion of MFAEnabled
Configuration menu - View commit details
-
Copy full SHA for 835fa5a - Browse repository at this point
Copy the full SHA 835fa5aView commit details -
Merge pull request #576 from supabase/j0_admin_delete_endpoints
Admin Delete and Get endpoints
Configuration menu - View commit details
-
Copy full SHA for a1e5afb - Browse repository at this point
Copy the full SHA a1e5afbView commit details -
refactor: remove /recovery_codes endpoint
joel@joellee.org committedAug 2, 2022 Configuration menu - View commit details
-
Copy full SHA for a4022b1 - Browse repository at this point
Copy the full SHA a4022b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 607501a - Browse repository at this point
Copy the full SHA 607501aView commit details -
Merge pull request #580 from supabase/j0_remove_recovery_codes_endpoint
refactor: remove /recovery_codes endpoint
Configuration menu - View commit details
-
Copy full SHA for 9cf6fac - Browse repository at this point
Copy the full SHA 9cf6facView commit details
Commits on Aug 3, 2022
-
feat: add update factor admin endpoint
joel@joellee.org committedAug 3, 2022 Configuration menu - View commit details
-
Copy full SHA for 65b2424 - Browse repository at this point
Copy the full SHA 65b2424View commit details -
joel@joellee.org committed
Aug 3, 2022 Configuration menu - View commit details
-
Copy full SHA for ac845ba - Browse repository at this point
Copy the full SHA ac845baView commit details -
refactor: reinstate MFAEnabled
joel@joellee.org committedAug 3, 2022 Configuration menu - View commit details
-
Copy full SHA for a0eeee9 - Browse repository at this point
Copy the full SHA a0eeee9View commit details
Commits on Aug 6, 2022
-
refactor: make issuer mandatory
joel@joellee.org committedAug 6, 2022 Configuration menu - View commit details
-
Copy full SHA for a4af59f - Browse repository at this point
Copy the full SHA a4af59fView commit details
Commits on Aug 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ca67dcf - Browse repository at this point
Copy the full SHA ca67dcfView commit details -
Merge pull request #586 from supabase/j0_add_update_factor_admin
feat: add update factor admin endpoint
Configuration menu - View commit details
-
Copy full SHA for cc1dd36 - Browse repository at this point
Copy the full SHA cc1dd36View commit details
Commits on Aug 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5eb4030 - Browse repository at this point
Copy the full SHA 5eb4030View commit details
Commits on Aug 10, 2022
-
chore: remove created_at field from /challenge
joel@joellee.org committedAug 10, 2022 Configuration menu - View commit details
-
Copy full SHA for 1da78f2 - Browse repository at this point
Copy the full SHA 1da78f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for e405501 - Browse repository at this point
Copy the full SHA e405501View commit details -
Merge pull request #597 from supabase/j0_remove_created_at
Remove created_at field
Configuration menu - View commit details
-
Copy full SHA for ae60ac0 - Browse repository at this point
Copy the full SHA ae60ac0View commit details -
Merge pull request #588 from supabase/j0/reintroduce_mfa_enabled_checks
Reintroduce notion of MFAEnabled
Configuration menu - View commit details
-
Copy full SHA for 258d669 - Browse repository at this point
Copy the full SHA 258d669View commit details
Commits on Aug 28, 2022
-
joel@joellee.org committed
Aug 28, 2022 Configuration menu - View commit details
-
Copy full SHA for 6670cc7 - Browse repository at this point
Copy the full SHA 6670cc7View commit details -
joel@joellee.org committed
Aug 28, 2022 Configuration menu - View commit details
-
Copy full SHA for 96bf6fb - Browse repository at this point
Copy the full SHA 96bf6fbView commit details
Commits on Aug 29, 2022
-
Add MFA Sessions Fields (#643)
* feat: add session fields * fix: handle terr * fix: change column name Co-authored-by: joel@joellee.org <joel@joellee.org>
Configuration menu - View commit details
-
Copy full SHA for 30cc63c - Browse repository at this point
Copy the full SHA 30cc63cView commit details -
refactor: move constants into models (#646)
* test: check for unverified case * refactor: move constants into models layer * chore: test semantic release * chore: update comment Co-authored-by: joel@joellee.org <joel@joellee.org>
Configuration menu - View commit details
-
Copy full SHA for b36b337 - Browse repository at this point
Copy the full SHA b36b337View commit details -
feat: Convert QR to SVG (#624)
* initial commit * chore:add qrcodesize param * refactor: strip our QRCodeSize, undo session changes Co-authored-by: joel@joellee.org <joel@joellee.org>
Configuration menu - View commit details
-
Copy full SHA for 9c009e4 - Browse repository at this point
Copy the full SHA 9c009e4View commit details -
Merge branch 'master' of github.com:supabase/gotrue into mfa
joel@joellee.org committedAug 29, 2022 Configuration menu - View commit details
-
Copy full SHA for ccfc4f5 - Browse repository at this point
Copy the full SHA ccfc4f5View commit details -
fix: change method of reading from config
joel@joellee.org committedAug 29, 2022 Configuration menu - View commit details
-
Copy full SHA for 5738884 - Browse repository at this point
Copy the full SHA 5738884View commit details -
joel@joellee.org committed
Aug 29, 2022 Configuration menu - View commit details
-
Copy full SHA for 3df3093 - Browse repository at this point
Copy the full SHA 3df3093View commit details -
joel@joellee.org committed
Aug 29, 2022 Configuration menu - View commit details
-
Copy full SHA for 65d4255 - Browse repository at this point
Copy the full SHA 65d4255View commit details -
feat: cherry-pick step up changes onto separate branch (#652)
* refactor: cherry pick onto separate branch * fix: update recovery code files * feat: cherry-pick partial changes from stepup login branch * Update models/recovery_code.go Co-authored-by: joel@joellee.org <joel@joellee.org>
Configuration menu - View commit details
-
Copy full SHA for d0a5966 - Browse repository at this point
Copy the full SHA d0a5966View commit details
Commits on Aug 30, 2022
-
feat: initial gating of routes requiring 1FA
joel@joellee.org committedAug 30, 2022 Configuration menu - View commit details
-
Copy full SHA for 091d56c - Browse repository at this point
Copy the full SHA 091d56cView commit details -
joel@joellee.org committed
Aug 30, 2022 Configuration menu - View commit details
-
Copy full SHA for b8f486c - Browse repository at this point
Copy the full SHA b8f486cView commit details -
joel@joellee.org committed
Aug 30, 2022 Configuration menu - View commit details
-
Copy full SHA for 93d1549 - Browse repository at this point
Copy the full SHA 93d1549View commit details -
Merge branch 'mfa' of github.com:supabase/gotrue into j0/mfa_one_fa_r…
…equirement
joel@joellee.org committedAug 30, 2022 Configuration menu - View commit details
-
Copy full SHA for 7de12a0 - Browse repository at this point
Copy the full SHA 7de12a0View commit details -
test: add initial mfa login tests
joel@joellee.org committedAug 30, 2022 Configuration menu - View commit details
-
Copy full SHA for 732fd5c - Browse repository at this point
Copy the full SHA 732fd5cView commit details -
refactor: Add sign in method to issueRefreshToken
joel@joellee.org committedAug 30, 2022 Configuration menu - View commit details
-
Copy full SHA for 912e685 - Browse repository at this point
Copy the full SHA 912e685View commit details -
fix: distinguish between code logins and recovery code logins
joel@joellee.org committedAug 30, 2022 Configuration menu - View commit details
-
Copy full SHA for 6f5353a - Browse repository at this point
Copy the full SHA 6f5353aView commit details
Commits on Aug 31, 2022
-
fix: add concept of first MFA login
joel@joellee.org committedAug 31, 2022 Configuration menu - View commit details
-
Copy full SHA for f750ec3 - Browse repository at this point
Copy the full SHA f750ec3View commit details -
chore: add AMRClaims model content
joel@joellee.org committedAug 31, 2022 Configuration menu - View commit details
-
Copy full SHA for 9fdc8da - Browse repository at this point
Copy the full SHA 9fdc8daView commit details -
fix: patch various errors related to method signature
joel@joellee.org committedAug 31, 2022 Configuration menu - View commit details
-
Copy full SHA for 8593fca - Browse repository at this point
Copy the full SHA 8593fcaView commit details -
fix: types for audit action logging
joel@joellee.org committedAug 31, 2022 Configuration menu - View commit details
-
Copy full SHA for 32224ff - Browse repository at this point
Copy the full SHA 32224ffView commit details -
joel@joellee.org committed
Aug 31, 2022 Configuration menu - View commit details
-
Copy full SHA for ad811ad - Browse repository at this point
Copy the full SHA ad811adView commit details -
chore: patch tests for stepup login
joel@joellee.org committedAug 31, 2022 Configuration menu - View commit details
-
Copy full SHA for ac0c3c8 - Browse repository at this point
Copy the full SHA ac0c3c8View commit details
Commits on Sep 1, 2022
-
fix: update number of user fields
joel@joellee.org committedSep 1, 2022 Configuration menu - View commit details
-
Copy full SHA for 8572a3b - Browse repository at this point
Copy the full SHA 8572a3bView commit details -
feat: merge in GrantAuthenticatedUser params
joel@joellee.org committedSep 1, 2022 Configuration menu - View commit details
-
Copy full SHA for a30189a - Browse repository at this point
Copy the full SHA a30189aView commit details -
refactor: modify access token generation
joel@joellee.org committedSep 1, 2022 Configuration menu - View commit details
-
Copy full SHA for 1a4fa1f - Browse repository at this point
Copy the full SHA 1a4fa1fView commit details -
joel@joellee.org committed
Sep 1, 2022 Configuration menu - View commit details
-
Copy full SHA for 02f4bbb - Browse repository at this point
Copy the full SHA 02f4bbbView commit details -
joel@joellee.org committed
Sep 1, 2022 Configuration menu - View commit details
-
Copy full SHA for 04f838d - Browse repository at this point
Copy the full SHA 04f838dView commit details -
joel@joellee.org committed
Sep 1, 2022 Configuration menu - View commit details
-
Copy full SHA for 7bff666 - Browse repository at this point
Copy the full SHA 7bff666View commit details -
chore: pull in master into mfa (#660)
* refactor: `TruncateAll` for better readability (#650) * Remove unused GenerateEmailOtp function (#655) * Remove unused function * chore: remove helper function * Update crypto.go * refactor: configuration with validation (#648) * feat: use proper ip address (#649) * refactor: add `GrantParams` for issuing refresh tokens (#659) * fix: remove instance.go Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com> Co-authored-by: joel@joellee.org <joel@joellee.org>
Configuration menu - View commit details
-
Copy full SHA for 8399e02 - Browse repository at this point
Copy the full SHA 8399e02View commit details
Commits on Sep 2, 2022
-
joel@joellee.org committed
Sep 2, 2022 Configuration menu - View commit details
-
Copy full SHA for 0f5d1ea - Browse repository at this point
Copy the full SHA 0f5d1eaView commit details -
tests: add notion of first log in
joel@joellee.org committedSep 2, 2022 Configuration menu - View commit details
-
Copy full SHA for 14738e3 - Browse repository at this point
Copy the full SHA 14738e3View commit details -
joel@joellee.org committed
Sep 2, 2022 Configuration menu - View commit details
-
Copy full SHA for 5402221 - Browse repository at this point
Copy the full SHA 5402221View commit details
Commits on Sep 5, 2022
-
joel@joellee.org committed
Sep 5, 2022 Configuration menu - View commit details
-
Copy full SHA for aba96e4 - Browse repository at this point
Copy the full SHA aba96e4View commit details
Commits on Sep 6, 2022
-
feat: remove stepup login related details
joel@joellee.org committedSep 6, 2022 Configuration menu - View commit details
-
Copy full SHA for ea783cc - Browse repository at this point
Copy the full SHA ea783ccView commit details -
refactor: remove unused fields
joel@joellee.org committedSep 6, 2022 Configuration menu - View commit details
-
Copy full SHA for d00c496 - Browse repository at this point
Copy the full SHA d00c496View commit details -
joel@joellee.org committed
Sep 6, 2022 Configuration menu - View commit details
-
Copy full SHA for 967f234 - Browse repository at this point
Copy the full SHA 967f234View commit details
Commits on Sep 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 66ccf66 - Browse repository at this point
Copy the full SHA 66ccf66View commit details -
joel@joellee.org committed
Sep 7, 2022 Configuration menu - View commit details
-
Copy full SHA for ff53d0f - Browse repository at this point
Copy the full SHA ff53d0fView commit details -
fix: remove recovery code logic
joel@joellee.org committedSep 7, 2022 Configuration menu - View commit details
-
Copy full SHA for 313a3bf - Browse repository at this point
Copy the full SHA 313a3bfView commit details -
Merge branch 'mfa_v1' of github.com:supabase/gotrue into mfa_v1
joel@joellee.org committedSep 7, 2022 Configuration menu - View commit details
-
Copy full SHA for d8c6e03 - Browse repository at this point
Copy the full SHA d8c6e03View commit details
Commits on Sep 8, 2022
-
refactor: change types to text, remove dead code
joel@joellee.org committedSep 8, 2022 Configuration menu - View commit details
-
Copy full SHA for 1f42bf8 - Browse repository at this point
Copy the full SHA 1f42bf8View commit details -
fix: change verify test expected status code
joel@joellee.org committedSep 8, 2022 Configuration menu - View commit details
-
Copy full SHA for e3c1712 - Browse repository at this point
Copy the full SHA e3c1712View commit details -
refactor: convert challenge_id and factor_id to be uuid's
joel@joellee.org committedSep 8, 2022 Configuration menu - View commit details
-
Copy full SHA for de537dd - Browse repository at this point
Copy the full SHA de537ddView commit details
Commits on Sep 9, 2022
-
joel@joellee.org committed
Sep 9, 2022 Configuration menu - View commit details
-
Copy full SHA for 60ccd3f - Browse repository at this point
Copy the full SHA 60ccd3fView commit details -
refactor: downcase sql files, shift constants back to respective files
joel@joellee.org committedSep 9, 2022 Configuration menu - View commit details
-
Copy full SHA for 86a530d - Browse repository at this point
Copy the full SHA 86a530dView commit details -
joel@joellee.org committed
Sep 9, 2022 Configuration menu - View commit details
-
Copy full SHA for 98ab91b - Browse repository at this point
Copy the full SHA 98ab91bView commit details -
refactor: modify aal levels to be enum
joel@joellee.org committedSep 9, 2022 Configuration menu - View commit details
-
Copy full SHA for 3eede1b - Browse repository at this point
Copy the full SHA 3eede1bView commit details
Commits on Sep 11, 2022
-
refactor: reinstate notion of factor type
joel@joellee.org committedSep 11, 2022 Configuration menu - View commit details
-
Copy full SHA for f5a7a8b - Browse repository at this point
Copy the full SHA f5a7a8bView commit details -
refactor:change types of enroll/unenroll from string to bool
joel@joellee.org committedSep 11, 2022 Configuration menu - View commit details
-
Copy full SHA for 10b4d31 - Browse repository at this point
Copy the full SHA 10b4d31View commit details
Commits on Sep 12, 2022
-
test: add missing require checks
joel@joellee.org committedSep 12, 2022 Configuration menu - View commit details
-
Copy full SHA for 67a77e8 - Browse repository at this point
Copy the full SHA 67a77e8View commit details -
fix: merge in master, globally replace hardcoded TOTP var
joel@joellee.org committedSep 12, 2022 Configuration menu - View commit details
-
Copy full SHA for be4b0bc - Browse repository at this point
Copy the full SHA be4b0bcView commit details -
fix: add tests for removing factor related sessions on unenroll
joel@joellee.org committedSep 12, 2022 Configuration menu - View commit details
-
Copy full SHA for a66de66 - Browse repository at this point
Copy the full SHA a66de66View commit details
Commits on Sep 13, 2022
-
fix: update db sessions in issueRefreshToken as well
joel@joellee.org committedSep 13, 2022 Configuration menu - View commit details
-
Copy full SHA for a2a8a67 - Browse repository at this point
Copy the full SHA a2a8a67View commit details -
fix: convert issuer to default to siteURL
joel@joellee.org committedSep 13, 2022 Configuration menu - View commit details
-
Copy full SHA for b25f611 - Browse repository at this point
Copy the full SHA b25f611View commit details -
refactor: change enroll factor message and remove redundant requireAu…
…thentication check
joel@joellee.org committedSep 13, 2022 Configuration menu - View commit details
-
Copy full SHA for 88d89c0 - Browse repository at this point
Copy the full SHA 88d89c0View commit details -
refactor: remove success field in verifyFactor Response
joel@joellee.org committedSep 13, 2022 Configuration menu - View commit details
-
Copy full SHA for d5ee5e2 - Browse repository at this point
Copy the full SHA d5ee5e2View commit details -
fix: remove success code reutrned and allow unverified factors to be …
…unenrolled
joel@joellee.org committedSep 13, 2022 Configuration menu - View commit details
-
Copy full SHA for 744362f - Browse repository at this point
Copy the full SHA 744362fView commit details
Commits on Sep 14, 2022
-
joel@joellee.org committed
Sep 14, 2022 Configuration menu - View commit details
-
Copy full SHA for e1a16fc - Browse repository at this point
Copy the full SHA e1a16fcView commit details -
joel@joellee.org committed
Sep 14, 2022 Configuration menu - View commit details
-
Copy full SHA for e94c98f - Browse repository at this point
Copy the full SHA e94c98fView commit details
Commits on Sep 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 840e5ad - Browse repository at this point
Copy the full SHA 840e5adView commit details
Commits on Sep 16, 2022
-
fix: add default value for challenge IP
joel@joellee.org committedSep 16, 2022 Configuration menu - View commit details
-
Copy full SHA for 329f5d4 - Browse repository at this point
Copy the full SHA 329f5d4View commit details -
joel@joellee.org committed
Sep 16, 2022 Configuration menu - View commit details
-
Copy full SHA for 3f65ad7 - Browse repository at this point
Copy the full SHA 3f65ad7View commit details -
joel@joellee.org committed
Sep 16, 2022 Configuration menu - View commit details
-
Copy full SHA for 03f4caa - Browse repository at this point
Copy the full SHA 03f4caaView commit details -
fix: add partial index to allow multiple empty strings
joel@joellee.org committedSep 16, 2022 Configuration menu - View commit details
-
Copy full SHA for b6971b4 - Browse repository at this point
Copy the full SHA b6971b4View commit details -
refactor: remove FindChallengesByFactorID and add IP address to chall…
…enge
joel@joellee.org committedSep 16, 2022 Configuration menu - View commit details
-
Copy full SHA for 3e742c4 - Browse repository at this point
Copy the full SHA 3e742c4View commit details -
joel@joellee.org committed
Sep 16, 2022 Configuration menu - View commit details
-
Copy full SHA for fb58fff - Browse repository at this point
Copy the full SHA fb58fffView commit details
Commits on Sep 19, 2022
-
* refactor enroll * fix: omit user, user_id & empty friendly_name from response
Configuration menu - View commit details
-
Copy full SHA for 5da121c - Browse repository at this point
Copy the full SHA 5da121cView commit details
Commits on Sep 23, 2022
-
* fix: remove belongs to association on factor * fix: extract issueRefreshToken logic for MFA * test:reinstate tests * fix: revert changes which introduce updateMFASessionAndClaims * Revert "fix: remove belongs to association on factor" This reverts commit 10057f7. Co-authored-by: joel@joellee.org <joel@joellee.org>
Configuration menu - View commit details
-
Copy full SHA for 147f686 - Browse repository at this point
Copy the full SHA 147f686View commit details -
* fix: remove belongs to association on factor * fix: extract issueRefreshToken logic for MFA * test:reinstate tests * fix: revert changes which introduce updateMFASessionAndClaims * Revert "fix: remove belongs to association on factor" This reverts commit 10057f7. * fix: resolve staticcheck errors, remove unused code Co-authored-by: joel@joellee.org <joel@joellee.org>
Configuration menu - View commit details
-
Copy full SHA for 5b6ed06 - Browse repository at this point
Copy the full SHA 5b6ed06View commit details
Commits on Sep 26, 2022
-
Add Rate limiters for MFA (#698)
* fix: add rate limiters * chore: add conf * chore: run gofmt * fix: add max enrolled factors * refactor: remove requireAuthentication * fix: merge challenge and verify rate limits Co-authored-by: joel@joellee.org <joel@joellee.org>
Configuration menu - View commit details
-
Copy full SHA for 5688b50 - Browse repository at this point
Copy the full SHA 5688b50View commit details
Commits on Oct 3, 2022
-
* fix: remove belongs to association on factor * fix: extract issueRefreshToken logic for MFA * refactor: lowercase totp and rename totp_secret to secret to be more generic * refactor: remove disabled state * refactor: rename err -> terr * Revert "refactor: remove disabled state" This reverts commit bce773d. * Revert "refactor: lowercase totp and rename totp_secret to secret to be more generic" This reverts commit 2b6920f. * Revert "fix: extract issueRefreshToken logic for MFA" This reverts commit 2dbd47c. * Revert "fix: remove belongs to association on factor" This reverts commit 10057f7. Co-authored-by: joel@joellee.org <joel@joellee.org>
Configuration menu - View commit details
-
Copy full SHA for 9929b47 - Browse repository at this point
Copy the full SHA 9929b47View commit details
Commits on Oct 4, 2022
-
fix: merge master into v1 (#726)
* patch: merge master into v1 * chore: run gofmt * refactor: rename TOTPSecret->Secret * fix: adjust application code to align with db schema Co-authored-by: joel@joellee.org <joel@joellee.org>
Configuration menu - View commit details
-
Copy full SHA for b27b85c - Browse repository at this point
Copy the full SHA b27b85cView commit details -
refactor: replace mfa/constants.go for enum (#727)
Co-authored-by: joel@joellee.org <joel@joellee.org>
Configuration menu - View commit details
-
Copy full SHA for ef4891f - Browse repository at this point
Copy the full SHA ef4891fView commit details -
refactor: add sessions refactors (#728)
Co-authored-by: joel@joellee.org <joel@joellee.org>
Configuration menu - View commit details
-
Copy full SHA for b3963f8 - Browse repository at this point
Copy the full SHA b3963f8View commit details -
refactor: add mfa_test.go refactors (#729)
Co-authored-by: joel@joellee.org <joel@joellee.org>
Configuration menu - View commit details
-
Copy full SHA for b51826a - Browse repository at this point
Copy the full SHA b51826aView commit details -
refactor: MFA Refactors (#730)
* inital fixes * Update api/mfa.go * fix: rename FactorStates Co-authored-by: joel@joellee.org <joel@joellee.org>
Configuration menu - View commit details
-
Copy full SHA for 0a6f508 - Browse repository at this point
Copy the full SHA 0a6f508View commit details -
refactor: update factors.go and getBodyBytes (#732)
* refactor: change json.NewDecoder -> getBodyBytes * refactor: update admin to use getBodyBytes * fix: update comments * fix: patch error message Co-authored-by: joel@joellee.org <joel@joellee.org>
Configuration menu - View commit details
-
Copy full SHA for 706afd7 - Browse repository at this point
Copy the full SHA 706afd7View commit details
Commits on Oct 5, 2022
-
refactor: refactor models/factor and block admin from modifying facto…
…r status (#733) * refactor: change json.NewDecoder -> getBodyBytes * refactor: update admin to use getBodyBytes * fix: update comments * fix: patch error message * refactor: remove FindFactorByFriendlyName * chore: update error messages * fix: refactor unenroll test * fix: patch staticcheck * fix: patch stray staticcheck error * refactor: add test case for unverified factor * fix: correct error naming and adjust error messages Co-authored-by: joel@joellee.org <joel@joellee.org>
Configuration menu - View commit details
-
Copy full SHA for 638dde1 - Browse repository at this point
Copy the full SHA 638dde1View commit details -
fix: update admin tests to add negatives (#734)
Co-authored-by: joel@joellee.org <joel@joellee.org>
Configuration menu - View commit details
-
Copy full SHA for 438e503 - Browse repository at this point
Copy the full SHA 438e503View commit details -
fix: mfa verify should reuse existing session (#691)
* fix: remove belongs to association on factor * fix: extract issueRefreshToken logic for MFA * chore: run gofmt * fix: downgrade other sessions instead of deleting them * refactor: convert all aal hardcoded strings to use enum * fix: update AAL Calcuation to not duplicate claims * fix: reinstate auth_test * fix: move downgrade to be a method on factor struct * refactor: merge factor and AAL update methods * refactor: change mfa_constants to enum * refactor: change signInMethod to Enum * refactor: change hardcoded strings to test constants * refactor: rename secondary session variables * test: add check that unenrolling clears factorID from assoc session * refactor: remove unused structs * refactor: nit changes (#694) * refactor: validate totp only if challenge isn't expired * refactor: better error handling * refactor: read from DB session instead of JWT token * refactor: remove outdated test * test: add tests for calculate AAL and AMR * fix: add test to ensure claims are not duplicated * fix: add ordering condition * refactor: rename signInMethod to authenticationMethod * fix: change verify bad code return from 401->400 * chore: run gofmt * fix: re-read association from session * refactor: change methods using enum types to AuthenticationMethod * fix: change more functions to take in enum * test: add integration tests * test: add test to check AAL maintainance * fix: add test for refresh token rotation * chore: fix staticcheck * refactor: move sessionID calculation out from transaction * refactor: remove authentication method map * refactor: remove additional CalculateAALAndAMR * fix: remove requirement for tokens to be not revoked * Apply suggestions from code review Co-authored-by: Kang Ming <kang.ming1996@gmail.com> * fix: gofmt, refactor return type for enrollfactor * refactor: add comments to clarify tests, remove unused codew * fix: add index to refresh_token * refactor: minor renaming and add check on qrcode contents * fix: replace expires in to default expiry * fix: update unverified factor test Co-authored-by: joel@joellee.org <joel@joellee.org> Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f90a1ed - Browse repository at this point
Copy the full SHA f90a1edView commit details -
joel@joellee.org committed
Oct 5, 2022 Configuration menu - View commit details
-
Copy full SHA for b4c5e06 - Browse repository at this point
Copy the full SHA b4c5e06View commit details -
joel@joellee.org committed
Oct 5, 2022 Configuration menu - View commit details
-
Copy full SHA for fd3cae5 - Browse repository at this point
Copy the full SHA fd3cae5View commit details
Commits on Oct 10, 2022
-
refactor: add explicit struct tags(mfa) (#740)
* refactor: explicitly name structs * refactor: add explicit tags to user and phone * refactor: add admin related tags Co-authored-by: joel@joellee.org <joel@joellee.org>
Configuration menu - View commit details
-
Copy full SHA for 438bffb - Browse repository at this point
Copy the full SHA 438bffbView commit details -
fix: trigger token swap on MFA verify to ensure token is latest one (#…
…742) * fix: trigger token swap to ensure token is latest one * test: add additional test to check 2FA followed by 1FA sign in * Update api/token.go Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com> * Revert "Update api/token.go" This reverts commit f6aa576. * refactor: reduce number of params needed * refactor: move FindSessionByUserID to tests * Revert "refactor: move FindSessionByUserID to tests" This reverts commit 3b56457. Co-authored-by: joel@joellee.org <joel@joellee.org> Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a64ce0d - Browse repository at this point
Copy the full SHA a64ce0dView commit details -
chore: add feature flag (#737)
* fix: add initial flags on tests * fix: add MFA_ENABLED flag to tests * fix: checks in test admin * fix: add enabled flag * fix: properly make use of config * fix: remove stray env var addition * feat: initial prefixing * fix: prefix mfa related tests * Update models/refresh_token.go Co-authored-by: Kang Ming <kang.ming1996@gmail.com> * fix: update comparison checks at * chore: MFA_ENABLED->GOTRUE_MFA_ENABLED Co-authored-by: joel@joellee.org <joel@joellee.org> Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 73c49f6 - Browse repository at this point
Copy the full SHA 73c49f6View commit details
Commits on Oct 11, 2022
-
refactor: mfa without user in route, other tiny fixes (#743)
* refactor: add unenroll factor response * refactor: remove /user/<prefix> route for mfa
Configuration menu - View commit details
-
Copy full SHA for 5521df1 - Browse repository at this point
Copy the full SHA 5521df1View commit details -
* feat: add mfa indexes * Update models/amr.go Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com> * Update migrations/20221011041400_add_mfa_indexes.up.sql Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com> Co-authored-by: joel@joellee.org <joel@joellee.org> Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 243364b - Browse repository at this point
Copy the full SHA 243364bView commit details
Commits on Oct 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8f2e09d - Browse repository at this point
Copy the full SHA 8f2e09dView commit details
Commits on Oct 17, 2022
-
refactor: better error messages for mfa (#751)
* refactor: rename errors * fix: add aal2 check * refactor: simplify amr claims * fix: add additional test for unenrolling verified factors * Apply suggestions from code review Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com> Co-authored-by: joel@joellee.org <joel@joellee.org> Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5a8c3b4 - Browse repository at this point
Copy the full SHA 5a8c3b4View commit details -
refactor: remove requirement for code in order to unenroll (#753)
Co-authored-by: joel@joellee.org <joel@joellee.org>
Configuration menu - View commit details
-
Copy full SHA for a6a1874 - Browse repository at this point
Copy the full SHA a6a1874View commit details
Commits on Oct 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 204bb87 - Browse repository at this point
Copy the full SHA 204bb87View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ad2737 - Browse repository at this point
Copy the full SHA 2ad2737View commit details -
test: add sanity checks to ensure secret does not leak (#755)
* refactor: remove requirement for code in order to unenroll * test: add sanity checks for secret leakage * fix: update status codes for unenroll factor Co-authored-by: joel@joellee.org <joel@joellee.org>
Configuration menu - View commit details
-
Copy full SHA for d061f9f - Browse repository at this point
Copy the full SHA d061f9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06ac877 - Browse repository at this point
Copy the full SHA 06ac877View commit details