Skip to content

Commit

Permalink
[FIX] Invalid Redirect URI on Custom OAuth (#15957)
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre-lehnen-rc authored and sampaiodiego committed Dec 12, 2019
1 parent 3fa754b commit bad6a6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/custom-oauth/client/custom_oauth_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export class CustomOAuth {

const loginUrl = `${ this.authorizePath
}${ separator }client_id=${ config.clientId
}&redirect_uri=${ OAuth._redirectUri(this.name, config)
}&redirect_uri=${ encodeURIComponent(OAuth._redirectUri(this.name, config))
}&response_type=code`
+ `&state=${ OAuth._stateParam(loginStyle, credentialToken, options.redirectUrl)
}&scope=${ this.scope }`;
Expand Down

0 comments on commit bad6a6e

Please sign in to comment.