angular-auth0-aside
angular-auth0-aside copied to clipboard
Double encoding of redirect URL in callback
If the auth.handleAuth();
is performed in the constructor of the callback component - then the url will contain double encoded characters. Try adding ":" to a scope in the auth0 configuration. This will be returned as %253A
. It should be %3A
. This is because an encoded % is %25
. It doesn't occur if the auth.handleAuth();
is placed in another component, e.g., home.
@ja6a in your comment html char code getting printed, if possible could you please clearly mention those?
Sorry but I do not clearly understand your question.
Unable to reproduce; please pull latest and see if this is still an issue. It should not run in the constructor, but in the ngOnInit.