-
Notifications
You must be signed in to change notification settings - Fork 696
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
Authentication issue: unable to access profile page. #319
Comments
The JSON needs to be stripped from everything else. {
"groot_sessionid": "8tjtl...",
"orm-jwt": "eyJhbGciO...",
"orm-rt": "eead..."
} |
I got the same error. I am using library card, and must login through library website. Error message
For me, this is the URL to view profile page
My browser cookie looks like this, it is very different than safari cookie,
I also replace
|
@scout249 it seems that the request is not following the In my opinion, you probably don't need to replace the base URL. You can use the proxied version in your browser to get the cookies when visiting the link quoted in the error message: |
@cipri-tom After reviewing the source code, if the return is not After running the command, and examine log file, it shows the login screen of EZProxy, it seem that the cookie is not being utilized. input command
Line 525
Config
Output
|
I'm having similar issues but my public library Same EZProxy appears in the cookies. I tried the above and wasn't able to make it work. I'm not a dev so not exactly sure what i'm doing but wanted to add my issue to this as it seems related. The different public libraries use different urls and seem they use a proxy to connect to the safari library Hopefully there is a way to add support for public libraries in the future. Thank you to the developers!!! ❤ If there is any information I can gather to help you guys please let me know how and i'll add it here. This is what shows up after logging in with my library account. Which then takes me to this address:
|
I'm using my library card as well. I was able to be authenticated by replacing the appropriate ORLY_BASE_HOST, SAFARI_BASE_HOST, and API_ORIGIN_HOST. @scout249 You might want to double-check your API_ORIGIN_HOST. Here's my config:
|
@mingma-tr I am able to authenticate with my library card now. |
@mingma-tr thanks so much, this also worked for me with SFPL! |
The script is not working for SSO. I used several methods to pass the needed cookie with
cookies.json
, none of them worked.For example, I copied only the
orm-jwt
cookie and pasted with json format and did not work.The text was updated successfully, but these errors were encountered: