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

rambox: allow user to use other auth0 credentials #31730

Merged
merged 1 commit into from Nov 17, 2017
Merged

rambox: allow user to use other auth0 credentials #31730

merged 1 commit into from Nov 17, 2017

Conversation

ghost
Copy link

@ghost ghost commented Nov 16, 2017

Motivation for this change

Allow user to override auth0 credentials, because accounts and user data are not shared accross domains, so for example I can't use the account I've registered via official binary Rambox build.
Additionally it's a privacy measure, since one who owns the auth0 domain can admin registered user accounts, so user may prefer to register an own credentials.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Copy link
Contributor

@orivej orivej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!
/cc @yegortimoshenko

@orivej orivej merged commit c0d2ee1 into NixOS:master Nov 17, 2017
@ghost ghost deleted the rambox branch November 17, 2017 10:46
# for another distribution, go to https://auth0.com. If you want to reuse the same
# domain, drop a line at yegortimoshenko@gmail.com!
, auth0ClientID ? "0spuNKfIGeLAQ_Iki9t3fGxbfJl3k8SU"
, auth0Domain ? "nixpkgs.auth0.com" }:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yegortimoshenko
I get:

Callback URL mismatch.
The URL "https://nixpkgs.auth0.com/mobile" is not in the list of allowed callback URLs.
Please go to the Application Settings page and make sure you are sending a valid callback url from your application.

now when I login.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants