-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bad Request on every api call with v1.0.3 #36
Comments
@nikned Looks like the Extended Date format that was updated is causing this error across the board. Apologies I let this out. I will post a patch, that will be versioned as 1.0.3.1 |
@nikned I pushed the update, You should have all tests pass with this version. |
@sa-rrowcliffe , this issue is fixed now , appreciate it 👍 I see another issue with factorsByUser call , I see recent change in v1.0.3 is uncommenting encode() function in public FactorsResponse factorsByUser(String userid) method in SAAccess. This is causing multiple issues ,
|
@nikned We uncommented it for a specific case. Seems it is impacting the more general use cases. |
@sa-rrowcliffe ,
|
@nikned I think we are going to run into a challenge with the + or other special Char, The encoding is really looking for UPN format, the IDP itself isn't parsing the encoding in the form of URLEncoding. I have put in a request into IDP to support URL encoding |
@sa-rrowcliffe Note : other calls are able to fetch user_ids with + signs from adlds . fyi , UPNs on our adlds are "email addresses with plus signs" and calls are working as expected , its only factorsCall which is having this issue.
like other calls( eg adaptiveauth /api/v1/adaptauth) by passing username as parameters
|
The + support has to come from IDP. The SDK is just trying to make implementing the rest APIs easier. Can you open a support case to call out the urlencoding which would be an easier fix then changing the endpoint. We use path parameters in many parts of the restapi |
@sa-rrowcliffe thanks for the clarification , we are going to open support case for this |
@sa-rrowcliffe i believe placing a boolean for encoding in the SDK would be still viable at this point thus gives option to turn off to make general usecases work, curretly its breaking most of the general userId formats |
@sa-rrowcliffe just to re-check any eta on this fix for adding boolean flag for encoding? |
after migrating from v1.0.1 to v1.0.3, every API call to the secureAuth instance (v9.2.0) SAExecuter returns back "Bad Request"
Note : The same request(s) works with v1.0.1 .
Note: All provided integration tests are failing with the same issue.
PFA

The text was updated successfully, but these errors were encountered: