Git Product home page Git Product logo

Comments (12)

bedag-moo avatar bedag-moo commented on June 12, 2024 1

I am going to need this feature in a few months, is somebody already working on this? Otherwise, I'd take a stab at implenting this (for implicit flow using the iframe trick).

from angular-oauth2-oidc.

bedag-moo avatar bedag-moo commented on June 12, 2024

Is this for implicit flow (eg. by means of an iframe) or just the password flow?

from angular-oauth2-oidc.

tkestowicz avatar tkestowicz commented on June 12, 2024

I introduced your lib into the project I'm working on and I would like to handle this somehow. What is the easiest way to implement this feature? I'm wondering if I am able to contribute building it.

from angular-oauth2-oidc.

tkestowicz avatar tkestowicz commented on June 12, 2024

@bedag-moo It is for implicit flow. Password flow uses refresh token instead.

from angular-oauth2-oidc.

bedag-moo avatar bedag-moo commented on June 12, 2024

A possible source of inspiration may be

https://github.com/keycloak/keycloak-js-bower

I have only skimmed the code, but it seems they obtain a fresh access token by repeating the implicit flow in an invisible iframe, which does not require user interaction if the session with the identity server is still open.

from angular-oauth2-oidc.

bedag-moo avatar bedag-moo commented on June 12, 2024

Looks like @cdibbs has been working on this (at https://github.com/cdibbs/angular-oauth2-oidc )

from angular-oauth2-oidc.

cdibbs avatar cdibbs commented on June 12, 2024

@bedag-moo I have, but I didn't get to the refresh feature until after heavily-refactoring my fork. It's also far from stable/production-ready, so I am doubtful about the usefulness of a pull request.

If it's useful, I am willing to publish my work-in-progress to npmjs under a different name (with proper credits and caveats). What do you guys think?

from angular-oauth2-oidc.

bedag-moo avatar bedag-moo commented on June 12, 2024

I am looking for a production-ready implementation, but I am not in a hurry.

from angular-oauth2-oidc.

RubenDelange avatar RubenDelange commented on June 12, 2024

Same here as @bedag-moo , a production ready implementation would be awesome! Thanks in advance @cdibbs :)

from angular-oauth2-oidc.

napalm684 avatar napalm684 commented on June 12, 2024

Just checking in since the last update was March 31st. Is someone actively working this? We would like to have that capability as well.

from angular-oauth2-oidc.

jchn-codes avatar jchn-codes commented on June 12, 2024

i've talked to the creator in march and he said he has less time to work on this project than expected. as of his twitter timeline he's been busy with speaking on conferences in the last few weeks.

from angular-oauth2-oidc.

manfredsteyer avatar manfredsteyer commented on June 12, 2024

This feature will land in the next version of this lib which will be published in the course of the next days.

from angular-oauth2-oidc.

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.