-
Notifications
You must be signed in to change notification settings - Fork 43
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
Oauth2 provider #133
Oauth2 provider #133
Commits on May 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 206ef80 - Browse repository at this point
Copy the full SHA 206ef80View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e33c5a - Browse repository at this point
Copy the full SHA 6e33c5aView commit details -
Regen migrations for common changes
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d3605ab - Browse repository at this point
Copy the full SHA d3605abView commit details -
Tighten up is_external_account() and fix tests
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 60b4cd1 - Browse repository at this point
Copy the full SHA 60b4cd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90c821b - Browse repository at this point
Copy the full SHA 90c821bView commit details -
Revert "Regen migrations for common changes" This reverts commit 53b7fb6.
Configuration menu - View commit details
-
Copy full SHA for e8f8329 - Browse repository at this point
Copy the full SHA e8f8329View commit details -
Try fixing up migrations while not squashing them
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a65cc9b - Browse repository at this point
Copy the full SHA a65cc9bView commit details -
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e1188fb - Browse repository at this point
Copy the full SHA e1188fbView commit details -
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e7dcb01 - Browse repository at this point
Copy the full SHA e7dcb01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67f7ffc - Browse repository at this point
Copy the full SHA 67f7ffcView commit details -
... And this is why we test :)
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 72a02d1 - Browse repository at this point
Copy the full SHA 72a02d1View commit details -
Rework application serializer a bit, client_secret
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for edc486c - Browse repository at this point
Copy the full SHA edc486cView commit details -
Get "related" working for application tokens
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d25de4f - Browse repository at this point
Copy the full SHA d25de4fView commit details -
Create an OAuth2Application in demo data
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4304f2e - Browse repository at this point
Copy the full SHA 4304f2eView commit details -
Add simple tests showing token auth works
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9898ac0 - Browse repository at this point
Copy the full SHA 9898ac0View commit details -
Don't treat Application.client_secret as encrypted
In newer DOT than what AWX uses, Application.client_secret is hashed automatically with no way to disable that functionality. There's a PR that allows for disabling that functionality ([0]), but that hasn't made it into a release. The DOT hashing is incompatible with our standard encryption - when DOT gets the value it ends up getting our encrypted string and trying to act on that. Ideally we'd like to disable their hashing entirely and use our standard encryption tooling. AWX avoids this problem by pinning to an older DOT. For now in DAB we'll just use the upstream hashing, and not treat the field as an encrypted_fields field to avoid the "double encryption" issue. [0]: jazzband/django-oauth-toolkit#1311 Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 586efbc - Browse repository at this point
Copy the full SHA 586efbcView commit details -
Make is_external_account return the authenticator
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c437d9b - Browse repository at this point
Copy the full SHA c437d9bView commit details -
Show the proper authenticator type in error
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b0e2e51 - Browse repository at this point
Copy the full SHA b0e2e51View commit details -
Configuration menu - View commit details
-
Copy full SHA for c68aa76 - Browse repository at this point
Copy the full SHA c68aa76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41c5e57 - Browse repository at this point
Copy the full SHA 41c5e57View commit details -
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7c51b36 - Browse repository at this point
Copy the full SHA 7c51b36View commit details -
Update fixture tuple application fixtures return
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a2f7420 - Browse repository at this point
Copy the full SHA a2f7420View commit details -
Track oauth models in activity stream and sanitize
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for adb478f - Browse repository at this point
Copy the full SHA adb478fView commit details -
Provide view-level hook for extra related fields
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 84ca302 - Browse repository at this point
Copy the full SHA 84ca302View commit details -
Start on /users/PK/<oauth stuff>/ endpoints
Particularly, start on /users/PK/personal_tokens/ No tests, yet. Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 46551be - Browse repository at this point
Copy the full SHA 46551beView commit details -
Some coverage for the PAT mixin hack
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 87dc7d0 - Browse repository at this point
Copy the full SHA 87dc7d0View commit details -
Nix updated/created from token model
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d3269af - Browse repository at this point
Copy the full SHA d3269afView commit details -
Nix DOT updated/created fields from some models
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6e70130 - Browse repository at this point
Copy the full SHA 6e70130View commit details -
Use the API for the token fixture
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7bc557c - Browse repository at this point
Copy the full SHA 7bc557cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 25cef53 - Browse repository at this point
Copy the full SHA 25cef53View commit details -
Start a doc for differences from AWX
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4dc5d82 - Browse repository at this point
Copy the full SHA 4dc5d82View commit details -
Make summary fields useful for Application
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 97501de - Browse repository at this point
Copy the full SHA 97501deView commit details -
Get /users/N/authorized_tokens/ working
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 96d616a - Browse repository at this point
Copy the full SHA 96d616aView commit details -
Just hardcode the user model basename in the mixin
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5c179d4 - Browse repository at this point
Copy the full SHA 5c179d4View commit details -
We can't check user actions when we add more
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0370e76 - Browse repository at this point
Copy the full SHA 0370e76View commit details -
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 243060a - Browse repository at this point
Copy the full SHA 243060aView commit details
Commits on May 7, 2024
-
Use CommonModel fields for created and modified
We have to use the right order of inheritance for this to work, and not null out fields that we actually want :) Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 33754a2 - Browse repository at this point
Copy the full SHA 33754a2View commit details
Commits on May 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3e685c3 - Browse repository at this point
Copy the full SHA 3e685c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f43a778 - Browse repository at this point
Copy the full SHA f43a778View commit details -
Configuration menu - View commit details
-
Copy full SHA for f825464 - Browse repository at this point
Copy the full SHA f825464View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed14d40 - Browse repository at this point
Copy the full SHA ed14d40View commit details -
DRY
ALLOWED_SCOPES
in token serializerSigned-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 92c88c2 - Browse repository at this point
Copy the full SHA 92c88c2View commit details -
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 67036fd - Browse repository at this point
Copy the full SHA 67036fdView commit details -
Be specific because people aren't mind-readers
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d8b99a2 - Browse repository at this point
Copy the full SHA d8b99a2View commit details -
Use authenticator name instead of its type
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c03cda6 - Browse repository at this point
Copy the full SHA c03cda6View commit details -
Just show the None if it's None
Signed-off-by: Rick Elrod <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 077def8 - Browse repository at this point
Copy the full SHA 077def8View commit details