-
Notifications
You must be signed in to change notification settings - Fork 6
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
⬆️ [#50] updated dependecies and added oidc tests #122
Conversation
6e6c0e9
to
03484ee
Compare
03484ee
to
58d3916
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved in relation to updating dependencies
@stevenbal could you please review OIDC part?
58d3916
to
3fca474
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor comments/questions. It also seems that CI is failing? Not sure if it's related https://github.com/maykinmedia/objecttypes-api/actions/runs/10321355943/job/28575706632?pr=122
class Params: | ||
superuser = factory.Trait( | ||
is_staff=True, | ||
is_superuser=True, | ||
) | ||
|
||
|
||
class StaffUserFactory(UserFactory): | ||
is_staff = True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the difference between these? Doesn't UserFactory
now also have is_staff=True?
KEYCLOAK_BASE_URL = "http://localhost:8080/realms/test/protocol/openid-connect" | ||
|
||
|
||
def keycloak_login( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't we reuse this from mozilla-django-oidc-db
? https://github.com/maykinmedia/mozilla-django-oidc-db/blob/d0630df6a5dc9d8bf34dbed5a0be983973779ed6/tests/utils.py#L7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
105f88c
to
542ece2
Compare
542ece2
to
780b2e9
Compare
Fixes #50
Changes
updated libraries:
3.6.4.0
to4.2.0
5.2.7
to5.4.0
2020.07.4
to2023.7.04
4.2.11
to4.2.14
6.4.0
to6.5.1
4.3.1
to4.4.0
23.2
to24.2
2.21.4
to2.22.0
3.14.0
to3.15.2
1.0.0
to1.0.1
0.16.0
to0.19.0
0.5.0
to0.6.1
2.31.0
to2.32.3
1.45.0
to2.12.0
6.4
to6.4.1
2.2.1
to2.2.2
5.0.0
to5.1.0
updated oidc tests to work for new library version