NullPointerException with POST /api/identity-provider/start
-
We are unable to start a SAML v2 Login Request (as explained here).
Our version of FusionAuth is
1.20.0
.The exception bellow is throw:
2020-11-02T09:12:47.670831893Z 2020-11-02 9:12:47.670 AM ERROR io.fusionauth.app.primeframework.error.ExceptionExceptionHandler - An unhandled exception was thrown 2020-11-02T09:12:47.670862293Z java.lang.NullPointerException: null 2020-11-02T09:12:47.670866593Z at io.fusionauth.api.service.authentication.SAMLv2IdentityProviderAuthenticationService.start(SAMLv2IdentityProviderAuthenticationService.java:176) 2020-11-02T09:12:47.670870593Z at io.fusionauth.app.action.api.identityProvider.StartAction.post(StartAction.java:61)
Note: The configuration of our Application and Identity provider in FusionAuth looks good as we are able to sign in graphically (with the SSO button).
Thank you!
-
@adrien-laugueux said in NullPointerException with POST /api/identity-provider/start:
2020-11-02T09:12:47.670831893Z 2020-11-02 9:12:47.670 AM ERROR io.fusionauth.app.primeframework.error.ExceptionExceptionHandler - An unhandled exception was thrown
2020-11-02T09:12:47.670862293Z java.lang.NullPointerException: null
2020-11-02T09:12:47.670866593Z at io.fusionauth.api.service.authentication.SAMLv2IdentityProviderAuthenticationService.start(SAMLv2IdentityProviderAuthenticationService.java:176)
2020-11-02T09:12:47.670870593Z at io.fusionauth.app.action.api.identityProvider.StartAction.post(StartAction.java:61)Thanks for reporting. This looks to be a bug, moving to GitHub.
https://github.com/FusionAuth/fusionauth-issues/issues/963As a work around, pass in a dummy
data
object to the API, for example:{ "applicationId": "1c212e59-0d0e-6b1a-ad48-f4f92793be32", "identityProviderId": "778985b7-6fd8-414d-acf2-94f18fb7c7e0", "data": { "workaround": true } }
-
-
-