Skip to Content
1
Jan 07 at 10:35 AM

Generate JWT token for Tenants with client-Id and secret

159 Views Last edit Jan 07 at 10:35 AM 2 rev

Hi experts,

I have a Multi tenant aplication with service-manager URL something like 'https://myapp.authentication.eu10.hana.ondemand.com' with its client id and secret.To generate a token from here its pretty straightforward like i need to do a post request to "https://myapp.authentication.eu10.hana.ondemand.com/oauth/token" With client id and client with gives me the token.

The tenant specific url will be like "https://myappt001.authentication.eu10.hana.ondemand.com" so with the above details can i generate a JWT token specific to this tenant "https://myappt001.authentication.eu10.hana.ondemand.com" to do some api calls with out the user login details (email and password)

Thanks