Thanks, this article I found is more what I’m talking about: Browser SSO for CLI Applications. Command Line Applications are programs… | by Hasintha Indrajee | Medium.
I also investigated the client credentials flow, but it looks like you can’t have a token that lives longer than 30 days? Is there a way to generate a much longer lived client credentials token? Or is there a way to manually generate tokens?