Control expires_in value for SPA

I am using the universal login with an SPA set up - I am getting the following in my response after a success:
#access_token=xxxx&scope=openid%20email&expires_in=7200&token_type=Bearer&state=MDQkAvqN1rlY0w1yCcn9XX1f88ypm5Y1&id_token=xxxx

How do I control the expires_in value?

Hi @Gratus-BenchSci,

Checkout this doc on token expiration:

Hi Dan,

I’ve read that part - but how do I associate an “API” to a “SPA” client?
When I pick a machine-to-machine client, the API option is there - but for a SPA client that is no visible.

When you add the audience param to your token request you are associating with an API. Are you adding any audience to your request?

I believe we are not. Thank you - let me try that out.

Okay great. Let me know!

2 posts were split to a new topic: Can you set the audience parameter in a rule?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.