Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleProblem: Denied access to UNIC Virtual Campus after authentication


Problem with login due to undelivered atributes



Figure 2. Problem with login due to undelivered atributes





Panel
titleAnswer: Problem with invalid SameSite configuration

Problem with invalid SameSite configuration

The problem is that the SameSite cookie attribute is not set, while the correct configuration would be SameSite=None. In certain situations, some browsers will discard such cookie when switching between different domains, as is the case in SSO authentication

 In In order to access UNIC page Virtual Campus some attributes must be delivered by Identity Provider. If a person can't access UNIC page Virtual Campus due to message shown in Figure 2.,  it is necessary to contact the administrator of the Identity provider at home institution to check whether the specified attributes are delivered.

Problem: Redirect loop occurs after a login

.

We believe that this causes problems for some of users when they are trying to connect to UNIC SP.

Image Removed

Figure 1. Example of well set SameSite cookies

More on SameSite cookie atribute can be found at: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite

Also, make sure that your IdP delivers the following mandatory eduGain attributes to the UNIC SP:

  • schacHomeOrganization
  • eduPersonScopedAffiliation
  • schacPersonalUniqueCode