Which shoud I choose Application Type if I use SSR.(Nuxt.js universal)
“Single Page Application” or “Regular Web Application”?
Please tell me how to do that.
Which shoud I choose Application Type if I use SSR.(Nuxt.js universal)
“Single Page Application” or “Regular Web Application”?
Please tell me how to do that.
Hi @kani
This would really depend on where the access_token and id_token are actually used.
If the tokens are used on the server to make the API calls then I would recommend “Regular Web Application”.
If the tokens are used on the client side then “Single Page Application”.
With SSR I’m not 100% certain but I think the code which does things like API calls will be executed on the server side as only the resulting UI is sent to the client.
Hope this helps!
Hey @kani!
It’s totally true. The core question is where you use the tokens but generally I think I will go for Regular Web Application.
As @charsleysa mentioned you need to consider whether you use them on server or client side.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.