angular-auth0-aside icon indicating copy to clipboard operation
angular-auth0-aside copied to clipboard

Double encoding of redirect URL in callback

Open ja6a opened this issue 6 years ago • 3 comments

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 avatar Mar 16 '18 16:03 ja6a

@ja6a in your comment html char code getting printed, if possible could you please clearly mention those?

shinde-prasad avatar Mar 28 '18 09:03 shinde-prasad

Sorry but I do not clearly understand your question.

ja6a avatar Apr 04 '18 09:04 ja6a

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.

kmaida avatar Sep 12 '18 17:09 kmaida