okta-auth-js
okta-auth-js copied to clipboard
The official js wrapper around Okta's auth API
This PR fixes some issues found during testing of cross-tab token renew with `syncStorage` off (when leader election is off). https://github.com/okta/okta-auth-js/pull/1106#issuecomment-1042875589 1. If another client with shared storage has renewed...
I know it is on the obvious side for experienced devs, but we've had a couple of bits of feedback asking for clarification on the dependencies. I thought this would...
I'm facing some issues with refresh of tokens in `TokenManager`. I fetch an access token and add it to `TokenManager`. On refresh I see token manager trying to fetch an...
Prior to the introduction of timer-based auto-renewal, the token manager's `getAsync` method contained a mechanism for preventing return of an expired token: https://github.com/okta/okta-auth-js/blob/d717437dd08000b3f194f6214ba1dd3ddb4f42a0/lib/TokenManager.js#L118-L131 This mechanism was removed when timer-based auto-renewal...
### Describe the bug? Hi there, I have to integrate okta for Single Sign On with client side library (Angular 7). I followed all the steps from this [post](https://developer.okta.com/code/angular/okta_angular_auth_js/#create-an-authentication-service), but...
my okta-auth version is ``` "@okta/okta-auth-js": "^5.3.1", "@okta/okta-react": "^6.1.0", ``` and my code is ``` const oktaConfig: { clientId: clientId, issuer: issuer, redirectUri: window.location.origin + '/login/callback', scopes: ['openid', 'profile', 'email'],...
developer.okta.com link redirected to a product page, which was a slightly strange experience, so I've updated it to link to the relevant dev.okta page instead.
Using @okta/okta-auth-js version 5.10.0. Auth flow - Auth Code with PKCE for SPA. 1. Add a third party Identity provider(Facebook) on your Okta Server following the below-linked instructions -https://developer.okta.com/docs/guides/add-an-external-idp/facebook/main/#about-the-connection-to-the-idp-for-your-application 2....
Used @okta/okta-auth-js version: 5.10.0 Scenario: 1. OktaAuth.signOut is called, but revoke request failed (due to, for instance, issues with internet connection). 2. signOut method throws an error and does not...
As recommended in related issue https://github.com/okta/okta-auth-js/issues/571 we have been testing the '_Refresh token rotation_' early access feature, to support our use case: multiple Okta account simultaneous sign-in (one user account...