Coder Social home page Coder Social logo

Comments (8)

klerick avatar klerick commented on July 21, 2024 1

I have created PR
#15

from ts-oauth2-server.

klerick avatar klerick commented on July 21, 2024 1

I think it's better to keep it as is by default for backward compatibility. Otherwise, after updating the version existing code in some projects may be broken. For example, a have mask ^0.0.0 for npm module in 'package.json'

from ts-oauth2-server.

jasonraimondi avatar jasonraimondi commented on July 21, 2024 1

released in v1.0.4

from ts-oauth2-server.

jasonraimondi avatar jasonraimondi commented on July 21, 2024

Great point, I can definitely look into making this optional, will take a few days but I will absolutely see what I can do. Also totally willing to take a PR if you want to contribute to the project.

from ts-oauth2-server.

jasonraimondi avatar jasonraimondi commented on July 21, 2024

I have one comment on the PR, if you can get that addressed (or I will when I get a moment) I can get this merged into the next version asap.

from ts-oauth2-server.

jasonraimondi avatar jasonraimondi commented on July 21, 2024

@klerick I have merged this and built your PR into version 1.0.3, basically this is "opting to skip the url encode". I am really thinking now that it should be skipped by default and you can opt into base64 encoding. I might follow up with 1.1.0 that changes this default value to always skip url encoding, and allow users to opt-in. What do you think?

from ts-oauth2-server.

klerick avatar klerick commented on July 21, 2024

The base64 encoding is a good feature, but other tools do not use it(

from ts-oauth2-server.

jasonraimondi avatar jasonraimondi commented on July 21, 2024

@klerick Thank you for the feedback and talking me down 😄 . You are correct, it is better to leave it and allow the opt-out.

I have created a branch to do a minor amount of cleanup for the authorization server optional configs, as well as adding some documentation for both config options here if you wanted to take a peek: https://github.com/jasonraimondi/typescript-oauth2-server/pull/16/files

I am going to put this refactor work into a release tagged 1.0.4

Closing this issue as it seems to be resolved now.

from ts-oauth2-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.