I was stumbling through the docs and several pages for a while now but I was unable to find an answer. The question is pretty simple:
Can I host an IdP in a local network (IdP is not available from outside) whilst the SP is available via internet?
- If I set up IdP and SP locally everything is fine.
- If I set up IdP/SP on public servers everything is fine.
- If I set up Idp locally and SP on public server I end up in the
NOSTATE
error.
I know that a SP that wants to make use of an IdP that is only available when you are on a specific network does not make too much sense. The problem is I have to deal with exactly that situation. ;)
When I am analyzing the workflow via apache access logs I do not see a direct communication between SP and IdP. It seems that everything is handled by the users browser itself. Therefor I guess it should be possible?
If it should be possible I just have to fix my NOSTATE
error. If this is not possible, the NOSTATE
error is just missleading and I will not be able to solve that problem.
Any ideas or experiences?