Redirect does not work #112
Replies: 5 comments 12 replies
|
Hello! When you open an app that has the advanced tinyauth config you are redirected to tinyauth right? Then in tinyauth your URL bar should have the parameter |
|
It works exactly as you describe, I call up the URL of my app and it first comes up with Tinyauth for login. In the address bar is always exactly the right ‘redirect_uri’ to my app. |
|
Please excuse my late reply, I had some social interactions and my computer was down. What you write about different domains and cookie is probably the cause of my problem! I'll reconfigure it tonight so that the app and Tinyauth run on the identical domain. Thank you very much! |
|
Ahh, I couldn't wait until the evening and checked it out! SUCCESS! Thank you very much for the tip, and of course for the great software! |
|
hello, I have a similar issue but I seem to have everything configured on the same domain. I can't figure out what's going on. assume my domain is I have another separate service at mail.local.example.com using tinyauth middleware and it redirects to tinyauth and I just get the logout screen. when I try to add tinyauth middleware to the traefik dashboard route the same behavior occurs. |



What do you mean by different domains? Tinyauth should be under the same "parent" domain as your apps. For example if your app is in
app.example.continyauth should be undertinyauth.example.com. You cannot have tinyauth intinyauth.domain1.comand your app inapp.domain2.comsince with this setup tinyauth cannot set the cookie so you won't be able to login.