separated NexusPortalConfig
some refactor + handle redirection
getting token - in progress