Use REST with Basic Auth while OIDC is enabled

I was trying to create some pages with REST for some testing, and was not able to authenticate to REST while the authclass was set to “OIDCAuthServiceImpl” - also adding oid.skipped=true does not help in that way it does for normal sessions.

As soon as i set the authclass back to default it worked just fine.

Maybe thats a limitation while a non default authclass is active, or I’m missing something?

BASIC auth should work by default in theory (the OIDC authenticator starts by trying the standard auth for any request/session based auth), you did not set the new tryLocal property to false, did you ? What version of the OIDC Authenticator do you have ?

No, tryLocal is not defined in my configuration, so it should be true as per the documentation.

OIDC Connect Authenticator has version 2.24.1
XWiki has version 17.10.10

But, as it is, now while testing it again, basic auth for rest is working when oidc is enabled .. only thing was it did restart today, but I also did that yesterday …