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:

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.