Skip to content

Conversation

@dancorne
Copy link

I'd originally opened #131 as a bugfix PR, but then deleted my fork which closed the PR without me realising 😅

The SDK already decodes from base64 automatically so this was attempting to decode again, which fails with the below error:

{"level":"fatal","msg":"cannot read config: illegal base64 data at input byte 0","time":"2023-05-02T08:04:04Z"} 

It looks like the SAM template uses only string secrets so I'm not sure many people would've hit this branch of logic, but we added one of the secrets as binary and SSOSync stopped working.

Resolves #130

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

The SDK handles decoding from base64 so this code was failing for any
binary secrets because it was receiving the decoded string already.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SSOSync fails to get binary secrets

1 participant