Hi, I have a suite of applications and I want to use Okta for the authentication.
My apps are like
auth.mydomain.com
app1.mydomain.com
app2.mydomain.com
When I browse to auth
I can login correctly and I get back with Okta session token in a cookie auth-session
. This holds the domain of mydomain.com
so I can reuse it to the rest of the apps.
Now I want to browse to app1
and call its API. In my middleware till now I had only JWT validations but now as I understand I need to call Okta’s session api api/v1/sessions/me
in order to get validated.
Is this the correct way or there is a better one?