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

Adds session_name to login #141

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

ldbrownjr
Copy link

I have been working on a Moments API integration for DSM 6 and will eventually move to Photos for DSM 7. I am using a non-admin user and was failing login auth. I found that I needed to provide the optional session name during login for this user to be able to login. I have not been able to find a solid list of available session names but the ones that I have found to work thus far are: 'FileStation', 'NoteStation', and 'Chat' if they are installed and the user has access to them. I have been using FileStation for my user and then all calls for the Moments api's (ex: SYNO.PhotoTeam.Browse.Item) work perfectly using the returned _sid from login. It seems that 'Photo', 'PhotoStation', 'PhotoTeam', or 'Moments' are not valid session_names.

@ldbrownjr ldbrownjr requested a review from Quentame as a code owner October 25, 2021 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant