I am developing an AVS-based device and use the "companion app" to perform the authorization. I follow the guide in the following page :
The platform I use is Amlogic A113X and it is ARM-based. I have developed my own programs running on my device to obtain the "Access_token" and write it to the file "/etc/AlexaClientSDKConfig.json". However I found out that the "SampleApp" in AVS will perform an authorization ( codepair -> request token -> refresh token ) in the libCBLAuthDelegate.so ( it source file is ~/SampleApp/Authorization/CBLAuthDelegate/src/CBLAuthDelegate.cpp ). My question is could I avoid the second time of obtaining "Access_Token" in the original avs codebase.
The reason is : I have successfully obtained a "Access_token" and wrote it to "/etc/AlexaClientSDKConfig.json" and there is no need to do it again.
Thanks for your help,