soteria icon indicating copy to clipboard operation
soteria copied to clipboard

Extract OIDC implementation into its own artifact

Open kalgon opened this issue 3 years ago • 4 comments

As far as I can see, the OIDC package is pretty well isolated and does not depend on other internal Soteria classes (except for org.glassfish.soteria.Utils). Wouldn't it be possible to extract this module into its own artifact so that it can be embedded directly into the application? I'm using the version of Soteria that comes with my application server (JBoss EAP) and I don't know when it will be updated with a version of Soteria that contains OIDC.

kalgon avatar Mar 16 '22 13:03 kalgon

For that purpose, this one is probably beter suited:

https://github.com/payara/ecosystem-security-connectors

arjantijms avatar Mar 17 '22 18:03 arjantijms

Well, I tried to use the payara openid-standalone on JBoss EAP but it fails (probably) because of this line. I am redirected in a loop to /org.jboss.resteasy.specimpl.ResteasyUriBuilder@XXX. The authUrl should be built using UriBuilder.build() instead of toString().

kalgon avatar Apr 27 '22 07:04 kalgon

I made a PR for payara but the same problem seems to be present in soteria as well.

kalgon avatar Apr 27 '22 12:04 kalgon

Thanks @kalgon! I'll take a look at this very soon.

arjantijms avatar Apr 28 '22 14:04 arjantijms