Hello I am trying to authenticate my Magnolia Instance with Okta, and I am able to hit the Okta login page, but upon entering valid credentials I infinitely redirect. I think this is because my response_type=code, and Okta returns a code, which magnolia rejects and sends us back to Okta, starting an infinite loop.
Using this magnolia module Limits my control over the Request to Okta but I don’t think there is much I can do about the request_type= code uri param. I will link tthe Magnolia-SSO doc as well as my yaml:
Magnolia Doc:
https://docs.magnolia-cms.com/product-docs/6.2/Modules/List-of-modules/SSO-module.html
Note: The doc directs me to create a claim, which I have done, I suspect the issue is the request_type Uri Param.
I have configured the following props in Yaml:
authenticationService:
path: /.magnolia/admincentral
callbackUrl: http://localhost:8080/local/.auth
authorizationGenerators:
groupsAuthorizationGenerator:
class: info.magnolia.sso.oidc.GroupsAuthorizationGenerator
mappings:
/Everyone:
roles:
- superuser
pac4j:
oidc.id: id
oidc.secret: secret
oidc.scope: openid profile email
oidc.discoveryUri: https://dev-27703170.okta.com/.well-known/openid-configuration
oidc.preferredJwsAlgorithm: RS256
Everything looks correct on both the Okta side and Magnolia side so I am a bit stuck. I am hoping throwing out this line might uncover something. Thank you for reading 