
ZiqiL.43245 (Customer) asked a question.
I have a question about how to refresh token in SPA Application.
First i get accessToken in angular:
i use window.location.href to call /authorize API to get code, redirect_uri is localhost:4200/implict/callback, in callback ts, i get code and call /token API to get access token.
Then if access token is expire,
I call /authorize with prompt=none by window.location.href, redirect_uri is localhost:4200/implict/callback, in callback ts, i get code and call /token API to get access token.
But this way to get access token, will skip a new url and then redirect to call back, i think it's unfriendly to users.
I want to know, it's have any way to resolve this issue.

Hi there! Apologies for the lack of response to your question. Going forward, we're implementing a new process to ensure that all Discussions receive a response from either another Community member or from the Okta Support team within 7 days of posting. Thank you for your patience while we put this into action!
I know this question is a bit old now, but If you’re still looking for information or help I’d recommend reaching out to the fine folks in the Admin Pro Tips group to see if anyone there can help: https://support.okta.com/help/s/group/0F90Z000000EK23SAG/admin-pro-tips
Thanks 🙂