Description: While we use export command. The Interactive login is not triggered on invalid or expired session token.
|
loggedInUserDetails, err := util.GetCurrentLoggedInUserDetails(true) |
|
if err != nil { |
|
util.HandleError(err) |
|
} |
|
accessToken = loggedInUserDetails.UserCredentials.JTWToken |
The issue seems to be here. We are not validating and calling the login function. We assume that the user is logged in.
Description: While we use export command. The Interactive login is not triggered on invalid or expired session token.
cli/packages/cmd/export.go
Lines 118 to 122 in ba904b4
The issue seems to be here. We are not validating and calling the login function. We assume that the user is logged in.