# Problema di reindirizzamento per il login SSO

**URL:** <https://meta.discourse.org/t/sso-login-redirection-issue/110103>\
**Category:** Product Support\
**Tags:** subfolder\
**Created:** [26 Febbraio 2019, 8:56am UTC](https://meta.discourse.org/t/sso-login-redirection-issue/110103 "2019-02-26T08:56:55Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Muthukkumar](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@Muthukkumar](https://meta.discourse.org/u/Muthukkumar)\
**Post date:** [26 Febbraio 2019, 8:56am UTC](https://meta.discourse.org/t/sso-login-redirection-issue/110103/1 "2019-02-26T08:56:55Z")

</div>

Hi, I have deployed discourse on vm, and configured sso, Also have configured application gateway, we have set a path rule /community for forum, on hitting /community/session/sso the app authorises and redirects back to the main website.  
For example: on hitting [https://mymainwebsite.com/community/session/sso](https://mymainwebsite.com/community/session/sso) i am automatically redirected back to [https://mymainwebsite.com](https://mymainwebsite.com).  
When i check the log it has authorised token but at the end it is redirecting to main site.

 ![48%20PM](https://global.discourse-cdn.com/meta/original/3X/2/3/23510e0b04ccc725888bc981dc341bc3be8d7a43.png)

---

_[View the full topic](https://meta.discourse.org/t/sso-login-redirection-issue/110103)._
