# After successful JWT authentication grafana is redirecting to login page

**URL:** <https://community.grafana.com/t/after-successful-jwt-authentication-grafana-is-redirecting-to-login-page/65355>\
**Category:** Authentication\
**Tags:** json, auth, jwt\
**Created:** [May 9, 2022, 1:46am UTC](https://community.grafana.com/t/after-successful-jwt-authentication-grafana-is-redirecting-to-login-page/65355 "2022-05-09T01:46:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![brzezins](https://avatars.discourse-cdn.com/v4/letter/b/b3f665/32.png) [@brzezins](https://community.grafana.com/u/brzezins)\
**Post date:** [May 9, 2022, 6:39am UTC](https://community.grafana.com/t/after-successful-jwt-authentication-grafana-is-redirecting-to-login-page/65355/2 "2022-05-09T06:39:36Z")

</div>

How did you do that Grafana authenticates with JWT? Check my problem please [Embedded Grafana in iframe and JWT authentication](https://community.grafana.com/t/embedded-grafana-in-iframe-and-jwt-authentication/65233)

Try option:

`auto_sign_up = true`

---

_[View the full topic](https://community.grafana.com/t/after-successful-jwt-authentication-grafana-is-redirecting-to-login-page/65355)._
