Hi @ssp0490,
Please see my blog post: Authentication to SAS Viya: a couple of approaches. In the Get an access token using the password grant section, I outline how to generate an access token using the password grant type.
If you prefer Python, you can reference one of one of the files in the rest-api-use-cases repo on sassoftware GitHub.
... View more