# Okta spring angular

**URL:** <https://devforum.okta.com/t/okta-spring-angular/13327>\
**Category:** Questions\
**Created:** [March 13, 2021, 12:54pm UTC](https://devforum.okta.com/t/okta-spring-angular/13327 "2021-03-13T12:54:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ramonab](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@ramonab](https://devforum.okta.com/u/ramonab)\
**Post date:** [March 13, 2021, 12:54pm UTC](https://devforum.okta.com/t/okta-spring-angular/13327/1 "2021-03-13T12:54:27Z")

</div>

Hi, I have implemented login in angular with okta and it works fine, I can see the methods I call from my backend in spring. My problem is in the moment when I need to get the user authenticated at that moment with oidcUser, I don’t understand if I need another okta app connected with spring, otherwise how does spring know the authenticated user at that moment ? can someone help me please? thank you!

---

<div class="post-metadata">

**Author:** ![erin.p](https://avatars.discourse-cdn.com/v4/letter/e/e480ec/32.png) [@erin.p](https://devforum.okta.com/u/erin.p)\
**Post date:** [March 15, 2021, 2:07pm UTC](https://devforum.okta.com/t/okta-spring-angular/13327/2 "2021-03-15T14:07:16Z")

</div>

I believe you are looking for the /userinfo endpoint. You can find more information on this [here](https://developer.okta.com/docs/reference/api/oidc/#userinfo).

---

<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 27, 2024, 12:00am UTC](https://devforum.okta.com/t/okta-spring-angular/13327/3 "2024-01-27T00:00:26Z")

</div>

Closed on January 27, 2024, 12:00am UTC


