# How to have React Front-end secured by Okta make REST Call to Grails 2.4.5 Back-End secured by Okta?

**URL:** <https://devforum.okta.com/t/how-to-have-react-front-end-secured-by-okta-make-rest-call-to-grails-2-4-5-back-end-secured-by-okta/18768>\
**Category:** Questions\
**Created:** [January 5, 2022, 5:48pm UTC](https://devforum.okta.com/t/how-to-have-react-front-end-secured-by-okta-make-rest-call-to-grails-2-4-5-back-end-secured-by-okta/18768 "2022-01-05T17:48:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![axelkouassi](https://avatars.discourse-cdn.com/v4/letter/a/ccd318/32.png) [@axelkouassi](https://devforum.okta.com/u/axelkouassi)\
**Post date:** [January 5, 2022, 5:48pm UTC](https://devforum.okta.com/t/how-to-have-react-front-end-secured-by-okta-make-rest-call-to-grails-2-4-5-back-end-secured-by-okta/18768/1 "2022-01-05T17:48:24Z")

</div>

Hello,

I am trying to have a React Front-End secured with Okta (different Okta Client Id than Grails 2.4.5 Back-End, but same authorization server) make a simple REST Call to a Grails 2.4.5 app secured with Okta (Different Okta Client Id than React Front-End, but same authorization Server).

The Grails 2.4.5 Grails Back-End App is secured with Okta through a custom Grails plugin that handles Okta.

I am able to see on the back-end the Okta secured APIs through the browser, most likely because Okta is implemented throughout the network, however even programmatically, I am not sure what Okta parameters to add to even test the Rest endpoints on Postman or just with a curl within IntelliJ.

The user consent isn’t required in the Okta settings and the Log in is initiated by “App only”.

I need help understanding the entire Okta process to have a React Okta secured Front-End make a simple Rest Call to a Grails 2.4.5 Back-End. An example will be nice to see.

I have looked at the Java examples, but so far it hasn’t helped me as much.

Thank you.

---

<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:** [February 8, 2024, 9:12pm UTC](https://devforum.okta.com/t/how-to-have-react-front-end-secured-by-okta-make-rest-call-to-grails-2-4-5-back-end-secured-by-okta/18768/2 "2024-02-08T21:12:27Z")

</div>

Closed on February 8, 2024, 9:12pm UTC


