Skip to content
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

Manual Redirect URI #74

Open
sada1993 opened this issue Jul 2, 2020 · 0 comments
Open

Manual Redirect URI #74

sada1993 opened this issue Jul 2, 2020 · 0 comments

Comments

@sada1993
Copy link

sada1993 commented Jul 2, 2020

I wanted the ability to manually set the redirect uri to another website on logout. This should be possible through the returnTo portion of the query string. Looking intologout_url() I noticed that the returnTo parameter is set by the following piece of code:

utils::URLencode(redirect_uri, reserved = TRUE)

I wanted to implement an override here so that instead of using the default global variable set in auth0_ui we can pass the redirect url manually into logout_url().

There are potentially two ways of implementing this,

  1. A function parameter logout_url <- function(redirect_uri = NULL){...}
  2. An additional parameter stored in the YML file

If there are any other methods to achieve this let me know, would be more than happy to put up a PR for this.

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

No branches or pull requests

1 participant