OIDC Redirect issue

0
Hello everyone :)   I have an issue with OIDC, even with the configuration following docs/manuals and wikis  when a user opens the app it goes immidiatly to "NoAccessPage" without loging in with OIDC. I configured the index.html document.cookie line so it is like this "document.cookie = "originURI=/oauth/v2/login" + (window.location.protocol === "https:" ? ";SameSite=None;Secure" : "");" It still doesn't work. I don't know what else can i do, can someone help me with this topic? Pd: this app it's also a Native APP, but i'm experiencing the issue in the web part
asked
1 answers
0

Hi Carlos, 

If you haven't found a solution yet, you can maybe try this copying on login.html 

<head>

    <script>

        const returnURL = encodeURIComponent(window.location.search + window.location.hash);

        self.location = '/oauth/v2/login?cont=index.html' ;

    </script>

</head>

 

Kind regards,

Yusuf

answered