Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

"Create an access token" is broken #492

Closed
realchandan opened this issue Nov 1, 2024 · 2 comments
Closed

"Create an access token" is broken #492

realchandan opened this issue Nov 1, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@realchandan
Copy link

In the admin dashboard, I'm unable to create an access token for a user because the "Client" dropdown doesn't show any clients.

I remember this wasn't an issue in earlier versions (since I've used this feature before). I recently updated Fief to v0.29.1, and to confirm my theory, I downgraded it to v0.28.9, but the dropdown still showed no clients.

I downgraded even further to v0.28.2, and now the clients started showing up in the dropdown.

I tried both Firefox and Chrome to test this.

@realchandan realchandan added the bug Something isn't working label Nov 1, 2024
@realchandan
Copy link
Author

After some digging, I found that the current version of the code isn't making a request to <FIEF_DOMAIN>/admin/clients/?tenant=<tanant-id>&query=, so it's not displaying anything in clients.

That's all I could do with my limited knowledge of HTMX, and debugging is really hard with the dev container setup. I couldn't get it to use VS Code with debugpy either.

@frankie567
Copy link
Member

Thank you for reporting, that was a nasty JS bug.

frankie567 added a commit that referenced this issue Nov 3, 2024
Bug fixes and improvements
--------------------------

* Fix #492: JavaScript bug preventing select inputs from working on Users dashboard.
* Bump dependencies
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants