You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While what Microsoft does here seems to be not to spec, I don't think it should cause the whole application to error out, instead it should log an error and continue, ignoring the value; or parse the string,
The text was updated successfully, but these errors were encountered:
Thanks for the report. I'll look into it. The fix can be done without needing a reproducer, but to be 100% safe if you do have a reproducible setup to share, that would be awesome.
Microsoft Entra returns the expires_in field as a string, not a number eg.:
{"token_type":"Bearer","expires_in":"3599", (...)}
That causes a ClassCastException (class org.eclipse.parsson.JsonStringImpl cannot be cast to class jakarta.json.JsonNumber) in https://github.com/eclipse-ee4j/soteria/blame/e5f82534696f4b108f512701092b316cbb86584d/impl/src/main/java/org/glassfish/soteria/mechanisms/OpenIdAuthenticationMechanism.java#L498
While what Microsoft does here seems to be not to spec, I don't think it should cause the whole application to error out, instead it should log an error and continue, ignoring the value; or parse the string,
The text was updated successfully, but these errors were encountered: