I want to show login button inside site navigation. Login button will redirect users to my external web app. If a user logs in I want to change button / link text to “Logout” for example or just to tell the user that they are logged in. What’s the best way to accomplish this?
Pretty much impossible, you can’t share cookies between different domains (and subdomains are considered different domains too), you should expose the jwt somehow and it’s greatly unadviced