-
Notifications
You must be signed in to change notification settings - Fork 145
Closed
Labels
bugThis points to a verified bug in the codeThis points to a verified bug in the code
Description
Describe the problem you'd like to have solved
When calling AuthApi.authorizeUrl it creates an invalid AuthorizationUrlBuilder instance because it does not encode the redirectUrl parameter.
On AuthApi.java L202 it requires that it be a valid (unencoded) URL but then in AuthorizedUrlBuilder L43 it is added to the query parameters as an encoded query parameter (without making sure it is encoded).
Describe the ideal solution
Either AuthorizedUrlBuilder or AuthApi should encoded the redirectUri or should call the OkHTTP addQueryParameter instead which will handle encoding it instead of addEncodedQueryParameter which expects it to be pre-encoded.
Alternatives and current work-arounds
Manually building the URL without auth0-java utilities.
Additional information, if any
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugThis points to a verified bug in the codeThis points to a verified bug in the code