We're currently developing an SSO between EBS and APEX. Our first approach did work fine but we were using the session-id cookie.
Now we want to get rid of using this cookie. Therefore we're generating a token to pass all the needed information from EBS to APEX.
We want to read this token in the Sentry-Function once. We already have all the code in place to decrypt and decode the passed token,
but we cannot store the passed information in the session state. If we try to set an application item in the session state and retrieve
it's value right away, we end up getting null.
I think APEX behaves like this because at this point we don't have an acitve session. We wan't to create a session in the pre-rendering
process of the login page, if all those application items I mentioned earlier have been set properly. But this is never the case.
Is there a way to create a session in the Sentry-Function? And if so, how does this work? We also tried to use the
apex_custom_auth.define_user_session function, but it failed all the time.
We pass the token as part of the URL.
Here is what it looks like: f?p=102:2:12525016868191::::EBS_TOKEN:E5AFD230929523C0D347D70B325E56D1062439454964EDFD0893C6C93B78E0073C49C3C295368B834ACBFAD6E3CE2D6D
We are using APEX 5.1.4.00.08 on SLES-11.