panva / openid-client

OAuth 2 / OpenID Connect Client API for JavaScript Runtimes
MIT License
1.83k stars 392 forks source link

fix: consistent space encoding in authorizationUrl #627

Closed kg0r0 closed 1 year ago

kg0r0 commented 1 year ago

I worked on the issue https://github.com/panva/node-openid-client/issues/626

panva commented 1 year ago

You're going yo have to use replace with a rexexp with a global flag instead since replaceAll is not available in all supported major versions of nodejs

kg0r0 commented 1 year ago

Sorry, I'll fix it that way.

panva commented 1 year ago

Thank you for this. I will merge and release in the coming days when I'm able to access a computer with permissions