I am using this library with a main domain and a subdomain. When i am logged in in the main domain (example.com). I am not signed in, in the subdomain (subdomain.example.com. Do i need to configure something to make this work?
I want to check the current session status of a user to determine if i should show the login screen or log the user in with signinSilent. I am trying to get this working using querySessionStatus (i know i can get the same functionality with signinSilent). Unfortunately when using it i get the error below. I know how promises work and i know how to catch an error. But i just cant get it to work.
Uncaught (in promise) ErrorResponse: No+authenticated+session+found.
at new e (oidc-client.min.js:1099)
at t [as _processSigninParams] (oidc-client.min.js:1903)
at t [as validateSigninResponse] (oidc-client.min.js:1881)
at eval (oidc-client.min.js:960)
Hi there,
I have two questions:
I am using this library with a main domain and a subdomain. When i am logged in in the main domain (example.com). I am not signed in, in the subdomain (subdomain.example.com. Do i need to configure something to make this work?
I want to check the current session status of a user to determine if i should show the login screen or log the user in with signinSilent. I am trying to get this working using
querySessionStatus
(i know i can get the same functionality with signinSilent). Unfortunately when using it i get the error below. I know how promises work and i know how to catch an error. But i just cant get it to work.I am using the following code:
The result is the following error.
Any of you know if i am missing something?
Thanks!