Skip to content

Commit

Permalink
fix: add password_expires_at
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaser committed Aug 16, 2023
1 parent 36b2192 commit 7103ca0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
*.pyc
*.tar.gz
*.whl
4 changes: 3 additions & 1 deletion keystone_keycloak_backend/identity.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ def _format_user(self, user):
"id": user["id"],
"name": user["username"],
# "password":
# "password_expires_at":
# TODO(mnaser): We should probably find a way to scrape into the
# credentials API and return the expiry date.
"password_expires_at": None,
"enabled": user["enabled"],
# "default_project_id":
# NOTE(mnaser): This is required or we'll fail with a KeyError
Expand Down

0 comments on commit 7103ca0

Please sign in to comment.