# Spring boot angular auth code flow discussion

**URL:** <https://devforum.okta.com/t/spring-boot-angular-auth-code-flow-discussion/4053>\
**Category:** Questions\
**Created:** [January 27, 2019, 5:10pm UTC](https://devforum.okta.com/t/spring-boot-angular-auth-code-flow-discussion/4053 "2019-01-27T17:10:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wpfeiffe](https://avatars.discourse-cdn.com/v4/letter/w/e9bcb4/32.png) [@wpfeiffe](https://devforum.okta.com/u/wpfeiffe)\
**Post date:** [January 27, 2019, 5:10pm UTC](https://devforum.okta.com/t/spring-boot-angular-auth-code-flow-discussion/4053/1 "2019-01-27T17:10:22Z")

</div>

Can someone point me to a discussion (blog post, youtube, etc) that goes over the high level design of a Spring Boot/Spring Security based app using Angular@latest on front end the uses Authorization Code OIDC flow?

I’m familiar with OAuth2 / OIDC concepts, but a little unclear as to the approach of managing JWT tokens. I want to make sure I don’t fall into the implicit flow. I want to make sure auth tokens are managed on my server side and not available to http traffic on the front end.

Is this a reasonable approach for using angular but locking down the auth token for a user? After reviewing [Nate Barbettini’s slides](https://speakerdeck.com/nbarbettini/oauth-and-openid-connect-in-plain-english), it appears that the implicit flow is recommended for PWA/api. Does angular front / Spring back end fall into this app category?

It would be real helpful to see a sequence or flow diagram on the auth code flow using these technologies. Once I understand them well enough I’ll put my own diagram together.

---

<div class="post-metadata">

**Author:** ![mraible](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/mraible/32/37_2.png) [@mraible](https://devforum.okta.com/u/mraible)\
**Post date:** [January 27, 2019, 6:20pm UTC](https://devforum.okta.com/t/spring-boot-angular-auth-code-flow-discussion/4053/2 "2019-01-27T18:20:35Z")

</div>

[This post](https://developer.okta.com/blog/2018/06/18/spring-boot-angular-auth-code-flow) shows how to switch from an Angular app that uses implicit flow to one that uses authorization code flow with Spring Boot.

---

<div class="post-metadata">

**Author:** ![wpfeiffe](https://avatars.discourse-cdn.com/v4/letter/w/e9bcb4/32.png) [@wpfeiffe](https://devforum.okta.com/u/wpfeiffe)\
**Post date:** [January 28, 2019, 3:43pm UTC](https://devforum.okta.com/t/spring-boot-angular-auth-code-flow-discussion/4053/3 "2019-01-28T15:43:08Z")

</div>

Hi Matt, Thanks for the link to the article. There is a lot going on in that project and I was wondering if there were some higher level information (sequence diagram?) about what is going on between all of the participants in the exchanges within the apps/servers.

I do have a call in with your pre-sales support so that might be a better place to jump in than this forum.

Thanks for your help and any other info you can provide,

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [January 17, 2024, 7:34pm UTC](https://devforum.okta.com/t/spring-boot-angular-auth-code-flow-discussion/4053/4 "2024-01-17T19:34:39Z")

</div>

Closed on January 17, 2024, 7:34pm UTC


