# Is the 'SPA + API' tutorial outdated?

**URL:** <https://community.auth0.com/t/is-the-spa-api-tutorial-outdated/40247>\
**Category:** Get Help\
**Created:** [March 31, 2020, 2:30pm UTC](https://community.auth0.com/t/is-the-spa-api-tutorial-outdated/40247 "2020-03-31T14:30:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![juliank](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/juliank/32/20187_2.png) [@juliank](https://community.auth0.com/u/juliank)\
**Post date:** [March 31, 2020, 2:30pm UTC](https://community.auth0.com/t/is-the-spa-api-tutorial-outdated/40247/1 "2020-03-31T14:30:17Z")

</div>

I’ve been looking at [SPA + API](https://auth0.com/docs/architecture-scenarios/spa-api/) under Architecture Scenarios, and I’m wondering if this tutorial might be a bit outdated as of today’s best practices.

Firstly the tutorial [is set up to use Implicit Grant](https://auth0.com/docs/architecture-scenarios/spa-api/part-1#implicit-grant). But in the guide for choosing the best OAuth 2.0 Flow, [SPAs are recommended to use Authorization Code Grant with PKCE](https://auth0.com/docs/api-auth/which-oauth-flow-to-use#is-the-client-a-single-page-app-). Does it really matter?

Also the tutorial [is build up around the Authorization Extension](https://auth0.com/docs/architecture-scenarios/spa-api/part-2#configure-the-authorization-extension) (for defining permissions and roles). But when looking in the dashboard I seem to be able to define permissions directly on the API, and I’ve got a separate section Users & Roles where roles can be defined and mapped to permissions. Is that extension needed at all?

Are there any better/more up-to-date tutorial for a SPA + API architecture?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [March 31, 2020, 5:29pm UTC](https://community.auth0.com/t/is-the-spa-api-tutorial-outdated/40247/3 "2020-03-31T17:29:07Z")

</div>

Hi @juliank,

You are correct, it is a bit outdated, this is something that the team is working on. As far as other resources, it will depend on what you are looking for, but unfortunately there is not a direct replacement at this time. I would be happy to answer any questions you have in the meantime.

Thanks for inquiring!  
Dan

---

<div class="post-metadata">

**Author:** ![juliank](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/juliank/32/20187_2.png) [@juliank](https://community.auth0.com/u/juliank)\
**Post date:** [April 2, 2020, 8:25pm UTC](https://community.auth0.com/t/is-the-spa-api-tutorial-outdated/40247/4 "2020-04-02T20:25:19Z")

</div>

Thank you for the quick response @dan.woda (and apologies for my late follow-up)!

I would be nice to have an up-to-date overall tutorial covering the SPA frontend/API backend scenarion - which I assume is a quite normal pattern these days - but I suppose I’ll manage just as fine looking at the two separate quickstarts for [Angular](https://auth0.com/docs/quickstart/spa/angular2) and [ASP.NET Core Web API](https://auth0.com/docs/quickstart/backend/aspnet-core-webapi), and put the pieces together based on those.

I do have some more questions as well, but I’ll post a separate thread about them, to get the proper context. Thanks again 🙂

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [April 3, 2020, 9:33pm UTC](https://community.auth0.com/t/is-the-spa-api-tutorial-outdated/40247/5 "2020-04-03T21:33:09Z")

</div>

Thanks @juliank! If you don’t get a response on those feel free to ping me!

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [April 18, 2020, 1:33am UTC](https://community.auth0.com/t/is-the-spa-api-tutorial-outdated/40247/6 "2020-04-18T01:33:09Z")

</div>

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