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 Method for Fetching Cookies #5
Comments
working with this, but kinda stuck. the pattern is like this you login with username and password, you need the and I can't even get the right result from the first part, it is just piss me off and I try to check the mobile application communicate with the app in hope the mobile app using here is my latest code, kinda leave this one later
|
Thanks for the api you built @ans-4175 @k1m0ch1! I really appreciate it and ease my work to prevent forgotting clockin and clockout from Talenta. Are we having any updates with this issue? 'coz right now I'm facing issue that I need to update the cookies each day for clockin/clockout since Talenta always update different cookies when login on website. Once again, thank you for the great work! 🥂 🍻 |
@aldryandimas aah you are right, right now they make it shorter for cookies expiration. I still hold cookies that expired in 2022. Any ideas, Mas? |
@ans-4175 This is really cool, Actually I know this method since 2020 and have an idea to make a scheduler for clock in and clock out, But I haven't because I think it's better to do it manually to diciplin myself. But my wild brain still thinking about this to integrate it with Microsoft Teams since my company using Microsoft Teams for communicate and other stuff. So challange myself to create the app. Actually you don't need to authorize it manually by copying the PHPSESSID and _identity, Just follow the behaviour of the app from inspect element like @k1m0ch1 said, And after all the 3rd hit was completed just look at the response header of https://hr.talenta.co/sso-callback?code={SOMETHING} You'll see : set-cookie: PHPSESSID={SOMETHING} // So all you have to do is just parse the response header, grab the value and set it globally on your internal session or write it to config.js. If you have no idea what I'm talking about just wait and see, I'll create the app and update the progress here. :) |
Hi @yuliusardian , could you show us with activity flow diagram?
@k1m0ch1 probable could you share your login sequence activity? |
@ans-4175 thanks for the lead man, this has been an ages, and still active, will to update the progress too @yuliusardian ohhhh what a great person you are, that would be very very wild of genius brain you have, it would be very generous if you made also for Microsoft teams on your company. oh please since you have a very wild brain you can help us and update the progress here, here is the sequence activity that I know if you need it to get the session
|
Right now cookies need to fetched manually from Talenta Web.
I think it easier to have module that fetch cookies from Talenta based on user & password passing parameters
The text was updated successfully, but these errors were encountered: