Hi,

I'm trying to set up OpenId Connect authentication as described in
https://apereo.github.io/cas/development/installation/OIDC-Authentication.html

However, when I access

GET .../cas/oidc/authorize/?response_type=code&scope=openid&client_id=client&redirect_uri=<service-url>

I only get an error page (application not authorized to use CAS).
I'd expect to be redirected to the login page.

When I step through the code, I can see that it fails because OAuth20AuthorizeController.isRequestAuthenticated() returns false. (Line 65).

isRequestAuthenticated() seems to check for an existing Profile in the session, which apparently is not there.

Do I have to perform some additional configuration? Which class/configuration is responsible for the redirect to the login page?

Thanks, best regards,
    Guido

--
CAS gitter chatroom: https://gitter.im/apereo/cas
CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
CAS documentation website: https://apereo.github.io/cas
CAS project website: https://github.com/apereo/cas
--- You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/ef689755-f7ed-d89e-a656-5326006184e1%40gmx.net.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Reply via email to