-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Expire user session when Bolt access token expires #111
Comments
@Naokimi we need the access token only to update the address on Bolt right? |
@DanielePalombo we have 3 services with read access (DetailService, SyncPaymentSourcesService and SyncAddressesService) and 1 service with write access (AddAddressService). Considering the latest message we could change the logic of calling AddAddressService by triggering an update of the access_token synchronously before scheduling the job |
With |
ah, yes, that's what I meant |
At the moment the AddAddressService is performed when the order is finalized. Does it make sense for you? |
An issue found: A simple solution to the write access would be to move the |
This issue has been automatically marked as stale because it has not had recent activity. It might be closed if no further activity occurs. Thank you for your contributions. |
Solidus updates the order address when the order has been placed, in order to do it, Bolt requires an access token with write permission, which is only provided during the Bolt login and cannot be refreshed.
This means we should ask the user to log in again whenever the access token is expired
The text was updated successfully, but these errors were encountered: