onAuthorized not firing in Hosted Test

It’s unwise to necro a 4 month off post.

Show your code.

Usually if it’s not firing you have your code in the wrong order, it wasn’t loaded or something else occured