You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.
Check if auth returns bootstrap data in dev mode and fix any issues
Analyze if we need to hard code token expiry used in wallet unlocking for dev mode, or whether we can use the value from bootstrap data returned by auth
The text was updated successfully, but these errors were encountered:
Firstly, the auth server url for dev mode seems to be broken. I am unable to reach https://localhost:8044, and replacing agentOpts['hub-auth-url'] = 'https://localhost:8044'; -> agentOpts['hub-auth-url'] = 'https://auth.trustbloc.local:8044'; in options.js gets me past the first error and to the login page.
Secondly, I tried removing the following check for production before updating profileOpts with data from getBootstrapData,
but after that call, profileOps.bootstrap.data.user is empty, although user is set with hardcoded values ininitOpts. Maybe it is related to fact that Object.assign cannot deal with nested values and overrides the data.user and data.tokenExpiry that was set from before, I'm not 100% sure.
The text was updated successfully, but these errors were encountered: