suggestion: use share key for api authentication #3
Closed
bo0tzz
started this conversation in
Feature Requests
Replies: 2 comments 3 replies
-
I think you're thinking of the endpoints to get asset info, like But if there's another way to find out what assets are associated with a given share link (share |
Beta Was this translation helpful? Give feedback.
2 replies
-
API key has now been removed - thank you very much @bo0tzz |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The last part of a share link (
/share/<key>
) can be used for API auth by appending it to the url (immich.local/api/foo?key=j3lij2w34892etc
). It's probably not a straight swap (I don't know what endpoints you use right now, and the share key is limited) but in theory this should let you remove the need for an API key entirely, reducing the attack surface even more.Beta Was this translation helpful? Give feedback.
All reactions