-
Notifications
You must be signed in to change notification settings - Fork 0
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
add jwt to other routes from auth #12
Comments
geeth24
added a commit
that referenced
this issue
Oct 22, 2024
Related to #12 Add JWT authentication to all routes in the server and client. * Add JWT authentication to the `get_categories`, `create_category`, `delete_category`, `link_album_to_category`, `unlink_album_from_category`, `get_album_by_category`, and `get_albums_by_category` routes in `server/routers/category/category.py`. * Add JWT authentication to the `get_dashboard` route in `server/main.py`. * Add JWT authentication to the `create_upload_files` route in `server/routers/files/files_router.py`. * Add JWT authentication to the `get_faces`, `get_face_photo`, `get_face`, and `update_face` routes in `server/routers/face/face_router.py`. * Add JWT authentication to the `delete_files` route in `server/routers/danger/danger_router.py`. * Add JWT authentication to the `websocket_endpoint` route in `server/routers/websocket/websocket_router.py`. * Add JWT authentication to the `verify_token_endpoint` route in `server/routers/auth/auth_router.py`. * Add JWT token to the `getAlbums` function in `client/src/app/admin/albums/page.tsx`. * Add JWT token to the `getLinkedCategories`, `getCategories`, and `getAlbums` functions in `client/src/app/admin/cms/page.tsx`. * Add JWT token to the `fetchDashboard` function in `client/src/app/admin/dashboard/page.tsx`. * Add JWT token to the `getFaces` function in `client/src/app/admin/faces/page.tsx`. * Add JWT token to the `fetch` function in `client/src/app/admin/photos/@modal/(..)photos/[id]/page.tsx`. * Add JWT token to the `getPhotos` function in `client/src/app/admin/photos/page.tsx`. * Add JWT token to the `getUsers` function in `client/src/app/admin/users/page.tsx`. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/geeth24/photoaura/issues/12?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
currently only user route has jwt add jwt to all
The text was updated successfully, but these errors were encountered: