Skip to content

Conversation

@InstinctBas
Copy link
Contributor

Closes #12654

Setting up a custom oauth2 client the parameters aren't being URI encoded. This is especially troublesome with state as the = or == at the end of the base64 encoded value cause certain oauth2 servers to not accept the values.
This PR simply URI encodes the value.

@CLAassistant
Copy link

CLAassistant commented Feb 6, 2019

CLA assistant check
All committers have signed the CLA.

# Conflicts:
#	packages/rocketchat-custom-oauth/client/custom_oauth_client.js
@rodrigok rodrigok requested a review from pierre-lehnen-rc May 29, 2020 20:15
@rodrigok rodrigok added this to the 3.4.0 milestone May 29, 2020
@rodrigok rodrigok merged commit da81cb0 into RocketChat:develop Jun 19, 2020
@sampaiodiego sampaiodiego mentioned this pull request Jun 30, 2020
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.

oauth not encoding state

3 participants