Comments (12)
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.
Is this for implicit flow (eg. by means of an iframe) or just the password flow?
from angular-oauth2-oidc.
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.
@bedag-moo It is for implicit flow. Password flow uses refresh token instead.
from angular-oauth2-oidc.
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.
Looks like @cdibbs has been working on this (at https://github.com/cdibbs/angular-oauth2-oidc )
from angular-oauth2-oidc.
@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.
I am looking for a production-ready implementation, but I am not in a hurry.
from angular-oauth2-oidc.
Same here as @bedag-moo , a production ready implementation would be awesome! Thanks in advance @cdibbs :)
from angular-oauth2-oidc.
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.
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.
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)
- Local parsing HTTP request error HOT 5
- Upgrade jsrsasign to v11 HOT 9
- Azure AD B2C implicate flow clientAuthError: Invalid state
- adfs using initLoginFlow() returns auth token but getAccessToken() is null
- issuer must use HTTPS (with TLS), or config value for property requireHttps must be set to false and allow HTTP without TLS HOT 1
- Third party cookie and token refresh HOT 2
- Re Login with new Scope
- Silent refresh iframe multiple injection
- Requests are canceled on logout
- Publish new npm package? HOT 1
- Authentication Library Config Type Only Import
- SSO login happens and after redirection user is not logged in HOT 1
- IDP errors not handled during initLoginFlowInPopup
- checkSession: Uncaught TypeError: e.data.split is not a function
- Add the hability to end session on the server but without redirecting to postLogoutRedirectUri
- What is proper way to preserve/refresh login state, when redirecting back from other app after refresh_token exp time? HOT 2
- ERROR ReferenceError: window is not defined - Support For SSR / prerender
- OAuthService.silentRefreshPostMessageEventListener executes tryLogin() inadvertently in the main frame
- `noRedirectToLogoutUrl` parameter is not checked in `logOut` method
- Browser timer throttling - expired refreshToken does not work to get the new accessToken
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-oauth2-oidc.