Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Login Expires when listing clients #57

Open
kevmegforest opened this issue Feb 20, 2020 · 0 comments
Open

Login Expires when listing clients #57

kevmegforest opened this issue Feb 20, 2020 · 0 comments
Labels

Comments

@kevmegforest
Copy link
Contributor

I have more than 60 clients with more than 100 contracts linked to my HQ username. Listing the clients in the login page take more than 15 minutes so the client fails after the 899 seconds expiry set in the callback url :

'https://session.hydroquebec.com/oauth2/callback#access_token=eyJ0eXAiOiJKV1QiLCJ6aXAiOiJOT05FIiwia2lkIjoib1JudHVEUVFaSlV4SitXaHVNR1UwVVhaUlFZPSIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiJBQUhTNzgwNjIiLCJjdHMiOiJPQVVUSDJfU1RBVEVMRVNTX0dSQU5UIiwiYXV0aF9sZXZlbCI6MCwiYXVkaXRUcmFja2luZ0lkIjoiMmEwOTBkNDUtNjYwNC00MzI5LWI4M2YtYjY3MTZjOGIzZmQ0LTIwNTU2Nzg1NCIsImlzcyI6Imh0dHBzOi8vY29ubmV4aW9uLmh5ZHJvcXVlYmVjLmNvbTo0NDMvaHFhbS9vYXV0aDIiLCJ0b2tlbk5hbWUiOiJhY2Nlc3NfdG9rZW4iLCJ0b2tlbl90eXBlIjoiQmVhcmVyIiwiYXV0aEdyYW50SWQiOiJGVG5mMmNZdVNfbi1uT21WMHZwSnFuQzZrQTgiLCJub25jZSI6IkxRcFFNcmZqNGd0SkhUd2xnZFRCWE1UN0ZzaHQ1SnNNdnQzSlYxU08iLCJhdWQiOiJNRl9JMzM0NjhmNTYtZWZmNy00YWQ4LTkzNjMtY2RjNzM3YmI0MDViIiwibmJmIjoxNTgyMjIyNTE3LCJncmFudF90eXBlIjoidG9rZW4iLCJzY29wZSI6WyJvcGVuaWQiLCJwcm9maWxlIiwiZW1haWwiXSwiYXV0aF90aW1lIjoxNTgyMjIyNTE3LCJyZWFsbSI6Ii9jbGllbnRzIiwiZXhwIjoxNTgyMjIzNDE3LCJ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vX-W1uSlU8cynoc7dRAQHHiE5vSQu2fsbfrMl09T2r4uSsNY2PpjaPGRybONLCKJNpx3UbRjwFSRPNHsSiSw96D2DoZzWAIBXkZyHy_R74d-nbs0DLEgspKOIuKEHovbXWxAjGwqIJl9TeYyxzmH0Urbtel43HKMcp9ePVoVAE9SOeCb3V9uXCW8WVR9jBp3A1AwxDChc2uXc3Ee71yQEYunEeZDISsAAKLj2noIWtIMdlL28-t2Y_PzyRPKZ60MwYDCug1250YXoyT5k-ZWt3WYHz9mxX5nVLO_WghddeZ17hV56VSGZjHei2AsfE4ngi_bPxvNCgjwPe1FXIMjf9eclIvaBkyNWllkWGyjL_uNnqJ5M9vmpLBb_9zNe5sHHdV0T-RAQjMzzNQkaWJyXbC02bW6KbMv2RhbGzUcN6v87GrY9M9nzZhcvRZ-oyQA0FDCkp2vrhSO-8qtIk7XAwk55kJND0n6IioYRXU&state=LQpQMrfj4gtJHTwlgdTBXMT7Fsht5JsMvt3JV1SO&token_type=Bearer&expires_in=899'
I dont know if its possible to change the expires_in parameter to make it longer or simply to have a way to relogin if the token expires after those 899 seconds or 15 minutes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants