I know you said you already authorized OATH in the IDE, but just to be sure, for the “BI Fusion” Smartapp (not for “BI Fusion - Trigger” or either of the device type handlers) you have it turned on as in these pictures from the IDE?
Then:
Then click update so it is saved. After that, then go into the app and into BI Fusion settings and turn on the recreate switch as we talked about yesterday, then click to view. You shouldn’t get the null access token (duh)…
Don’t mean to second guess you, I’m just not sure what is wrong yet so I’m covering all the bases before assuming the code is screwed up somehow but it still works for the rest of us.
The other thing you can try once OAUTH is confirmed to be set up is in the BI Fusion settings, instead of turning on “Do you want to (re)create the URLs?” you can leave that off. For initial setups it should generate the token either way. I’d certainly be interested if that solves the problem, the code is different in the two places, maybe one method has a problem. Sorry for the trouble, hope we can figure this out quick!