Giter VIP home page Giter VIP logo

ltpa's People

Contributors

dependabot[bot] avatar markusberg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ltpa's Issues

Validity period calculation standard as option

May I suggest to add an option (i.e. by setting the validity period to 0, or by a new setting) to use the expire datetime as stated in the token? I'd be happy to do this as a PR, but in all honesty, it's probably two lines of code, so faster this way.

Thank you for this module :-)

EDIT: i.e.
line 138 in index.ts

  if ((validity == 0 ? timeExpiration : timeCreation + validity + gracePeriod * 2) < now) {

Crypto deprecated module

Hi Markus,
I try to use your module and I faced an issue with NPM. Crypto is no longer used and it's now an internal node module.

I'm not a good Nodesjs developper, can you tell me how to fix the error please. The same for Buffer, i didn't see any import of this type in your code.

Regards,

Signature compatibility (possible issues)

Can I ask if you have tried not only login/auth on node but also cross compatibility with Domino? In this version tokens generated by Domino do not authenticate it seems. It does work with it's own tokens, suggesting a problem with the hash/signature (which is the error on the console too).

I am fairly sure this was not the case before the last release; I did test with existing (generated by Domino) tokens.

Error on my end is always possible of course, but I triple checked the secret and through single stepping that that secret is actually used.

IBM Websphere and Nodejs Connectivity

Hi Markus,

Im working on a Nodejs app and it connects to REST API's sitting on IBM websphere application. The API's need the LTPA token for authorisation. Could you let me know if in this scenario, this package will work and what are the configurations required for it to work ?

Thanks so much!!
Olinda

LTPA sign on

Hello and sorry if this is no te correct place to ask.

I want to validate in a domino server using ltpa toke, is this possible with this library?
Can you please point me in the right direction about how the validation could work?

Thanks in advance.

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.