
mi2cc (mi2cc) asked a question.
Hi,
Beginner here, I had hard time to adapt Okta SSO to my needs, reading the documentation, got kinda overwelmed by the amount of informations. So, i'm sorry if I missed the information, if you can point me in the right direction, i would be grateful.
But, I somehow, managed to make it work. (Yeee).
So I made a php application, which only authenticate a user with Okta, and build a Php Session after the return call.
During my development, I got an issue with checking if user is still logged in in Okta, I read a lot, and tried a lot of things, but, the conclusion was that it's not something I can do with php, and that i should rely on php session timeout, and force user to re-authenticate everytime session is destroyed.
I'm still unsure about this conclusion, can someone tell me if I am wrong, if there is a way to check if Okta user still has a session, with php? (I could do it with an ajax request with session/me but not with Curl, and for my application that would be worse to use ajax in that way actually)
Maybe I got everything wrong, ...
Hope someone can help me. Thank you.

Hi, @mi2cc (mi2cc)
Thank you for posting on our Community page!
I have done some research and found the below articles that might help:
Furthermore, my advice would be to leverage the Okta Developer forums for this type of questions and take advantage of their expertise.
https://devforum.okta.com/
Hope this helps.
Thank you for reaching out to our Community and have a great day!
_____________________________________________________________________________
Community members help others by clicking Like or Select as Best on responses. Try it today.
_____________________________________________________________________________