I'm very new in moodle, and I'm looking if there is a way to connect an external app as my react js app on moodle
According to a simple SSO architecture, I think i have to share the moodle session cookie with my second app
and then I need one more external API to check on react side, on every page reload if this session still exists or not
can someone helps me pls, or is there any other way to solve this
I would not recommend using Moodle as an authentication system for other applications, you're better off using a separate SSO system supporting a standard protocol like SAML, then authenticate both Moodle and your app against that.
This was asked in slightly different terms recently, here:
https://moodle.org/mod/forum/discuss.php?d=434226#p1747278
The answer of 'use external authentication' was given as the answer, too
https://moodle.org/mod/forum/discuss.php?d=434226#p1747278
The answer of 'use external authentication' was given as the answer, too