# CSRF problem in development with 'Discourse OpenID Connect' plug-in

**URL:** <https://meta.discourse.org/t/csrf-problem-in-development-with-discourse-openid-connect-plug-in/282786>\
**Category:** Development\
**Created:** [October 19, 2023, 12:05pm UTC](https://meta.discourse.org/t/csrf-problem-in-development-with-discourse-openid-connect-plug-in/282786 "2023-10-19T12:05:40Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![wayway\_way](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wayway_way/32/327018_2.png) [@wayway\_way](https://meta.discourse.org/u/wayway_way)\
**Post date:** [October 20, 2023, 3:57am UTC](https://meta.discourse.org/t/csrf-problem-in-development-with-discourse-openid-connect-plug-in/282786/4 "2023-10-20T03:57:11Z")

</div>

I tried, but “Invalid parameter: redirect\_uri” appears in Keycloak.

Boot Rails and Ember-CLI together via `bin/ember-cli -u`

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/d/c/8dcc950e712b293a163cda10335952af06b655ec.png)

Set the valid redirect URIs to `http://127.0.0.1:4200/auth/oidc/callback`.

 ![image](https://global.discourse-cdn.com/meta/original/4X/9/6/f/96fca6daedc6b24097d820066964befd6bcc6753.png)

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/e/2/8e24a8d899eb20c0bcd1127e66a25e883488f91d.png)

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/f/d/cfdac7c0679e263050d30df2673b274efa620b76.jpeg)

---

_[View the full topic](https://meta.discourse.org/t/csrf-problem-in-development-with-discourse-openid-connect-plug-in/282786)._
