Skip to content
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

Firebase authentication is failing on dashboard #144

Open
kevinsbarnard opened this issue Nov 27, 2023 · 3 comments
Open

Firebase authentication is failing on dashboard #144

kevinsbarnard opened this issue Nov 27, 2023 · 3 comments
Assignees
Labels
bug Something isn't working front-end Involves the front-end (web UI)

Comments

@kevinsbarnard
Copy link
Member

When navigating to the dashboard page (any tab), the web UI is failing to authenticate at the https://fathomnet.org/api/firebase/auth endpoint. See in the screenshot below, it is passing null in for the bearer token, which causes an 500 response. This causes all subsequent authenticated requests to fail. Tested on latest Firefox and Chrome with no extensions.

Screenshot from 2023-11-27 09-57-18

@ermbutler Do you by chance have any time to look into this?

@kevinsbarnard kevinsbarnard added bug Something isn't working front-end Involves the front-end (web UI) labels Nov 27, 2023
@kevinsbarnard
Copy link
Member Author

Possibly related: in the "People" admin view (AccountPeople.vue), the showDetails/editDetails functions fail, so the relevant dialog UI is never opened. I got as far as figuring out that the buildUserExt function was never called on the user objects... maybe loadPeople isn't being called due to the authentication error?

image

@ermbutler
Copy link
Member

Hi @kevinsbarnard -- I took a look around, and I made a few edits and that seems to help stop this particular 500 error from happening. The change is related to some code on the Account template which was carried over from Collections view (which is now a component) so I co-located that code into the component and that seems to help.

Here is the branch: https://github.com/fathomnet/fathomnet-web-ui/tree/dev/issue_144

@kevinsbarnard
Copy link
Member Author

Testing and will merge in soon

@ermbutler ermbutler self-assigned this Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working front-end Involves the front-end (web UI)
Projects
None yet
Development

No branches or pull requests

2 participants