This repository has been archived by the owner on Jan 26, 2025. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Introduces the changes that will go into the
1.0.0
version of@okta/okta-angular
. Will follow up a Publish commit.Changelog
@okta/okta-angular@1.0.0
Features
c7248b3
- Adds ability to override theresponse_type
(MakeresponseType
configurable as a String #109)c36b794
- Adds TypeScript definitions1b8940e
- Adds ability to override the redirect path on login and logout (Document how to override the referrer to redirect to different page than login #84)Fixes
79280a7
- Fixes URL params not being picked up when redirecting (okta-angular: Callback with Query String Parameters #123)Breaking Changes
ce3fcb3
- Scopes are now passed as a space separatedString
0c62752
- Requesting an access token and/or id token returns theirString
value instead of the object (okta-angular missing type for return ofgetAccessToken()
in TypeScript #75, getAccessToken + getIDToken should return a String #106)ba85754
- MakeisAuthenticated
async2f82adc
- Removes the ability to retrieve theokta-auth-js
object. (Remove exposed Okta AuthJS object #105)Migration
oktaAuth.loginRedirect
didn't require a path parameter in previous versions of this library. In order to achieve custom redirecting, we've introduced the ability to pass in a custom route that navigates users to on completion.Note: These changes are only needed when passing
additionalParameters
to the method.Since
scopes
are no longer allowed to be passed as anArray
, update your configuration'sscope
value to be aString
:Prior usage of
getAccessToken()
orgetIdToken()
would return a token object. TokenString
values are now returned asynchronously:Due to the above change,
isAuthenticated
is alsoasync
: