You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the enableDynamicIssuer in IdsConfig. When enableDynamicIssuer=true, jap ids will automatically extract issuer from the currently requested domain name.
Add the loginPageUrl in IdsConfig:
loginPageUrl: login form page url
loginUrl: The api url for login
Add the externalLoginPageUrl in IdsConfig. when the login page is not provided by an authorized service (the login page is hosted by other services), you need to enable this configuration.
Add the externalConfirmPageUrl in IdsConfig. When the authorization confirmation page is not provided by an authorized service (the authorization confirmation page is hosted by other services), you need to enable this configuration.
Add the authorizeAutoApproveUrl in IdsConfig. When the authorize url contains autoapprove=true, it will not jump to the confirmPageUrl, but will jump directly to the authorizeAutoApproveUrl.
Add some scopes, such as profile, address, read and write.
Add the uid in the OauthUtil#createAuthorizeUrl(String, IdsRequestParam).
Add the IdsUserStoreService interface to support custom operations on user data after login.
Add the IdsPipeline interface, developers can customize the process, currently only supports the process of customizing IdsxxFilter and LoginEndpoint.
Add SPI plugin mechanism
jap-social
SocialStrategy provides methods of refreshToken, revokeToken, and getUserInfo
Modified
jap
javax.servlet-api -> jakarta.servlet-api
jap-ids
Modify IdsConfig.confirmUrl to confirmPageUrl.
Modify the return value of ApprovalEndpoint#getAuthClientInfo(HttpServletRequest) to IdsResponse<String, Map<String, Object>>.
Modify the return value of Ap provalEndpoint#authorize(HttpServletRequest) to IdsResponse<String, String>.
Modify the return value of AuthorizationEndpoint#agree(HttpServletRequest) to IdsResponse<String, String>.
Modify the return value of LoginEndpoint#signin(HttpServletRequest) to IdsResponse<String, String>.
Modify the return value of LogoutEndpoint#logout(HttpServletRequest) to IdsResponse<String, String>.
Modify the comment content of ClientDetail.
Modify the return type of IdsResponse#getData() to the specified generic.
When response_type=id_token, the resulting Claims are returned in the ID Token.
Optimize the process of UserInfoEndpoint#getCurrentUserInfo(HttpServletRequest), Response UserInfo Claims using Scope Values.
Modify the loginByUsernameAndPassword and getByName methods of the IdsUserService interface, and add the clientId parameter, which can be used to distinguish multi-tenant scenarios
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
New features
jap-ids
enableDynamicIssuer
inIdsConfig
. WhenenableDynamicIssuer=true
, jap ids will automatically extractissuer
from the currently requested domain name.loginPageUrl
inIdsConfig
:loginPageUrl
: login form page urlloginUrl
: The api url for loginexternalLoginPageUrl
inIdsConfig
. when the login page is not provided by an authorized service (the login page is hosted by other services), you need to enable this configuration.externalConfirmPageUrl
inIdsConfig
. When the authorization confirmation page is not provided by an authorized service (the authorization confirmation page is hosted by other services), you need to enable this configuration.authorizeAutoApproveUrl
inIdsConfig
. When the authorize url containsautoapprove=true
, it will not jump to theconfirmPageUrl
, but will jump directly to theauthorizeAutoApproveUrl
.profile
,address
,read
andwrite
.uid
in theOauthUtil#createAuthorizeUrl(String, IdsRequestParam)
.IdsUserStoreService
interface to support custom operations on user data after login.IdsPipeline
interface, developers can customize the process, currently only supports the process of customizingIdsxxFilter
andLoginEndpoint
.SPI
plugin mechanismjap-social
SocialStrategy
provides methods ofrefreshToken
,revokeToken
, andgetUserInfo
Modified
jap
javax.servlet-api
->jakarta.servlet-api
jap-ids
IdsConfig.confirmUrl
toconfirmPageUrl
.ApprovalEndpoint#getAuthClientInfo(HttpServletRequest)
toIdsResponse<String, Map<String, Object>>
.Ap provalEndpoint#authorize(HttpServletRequest)
toIdsResponse<String, String>
.AuthorizationEndpoint#agree(HttpServletRequest)
toIdsResponse<String, String>
.LoginEndpoint#signin(HttpServletRequest)
toIdsResponse<String, String>
.LogoutEndpoint#logout(HttpServletRequest)
toIdsResponse<String, String>
.ClientDetail
.IdsResponse#getData()
to the specified generic.IdsScopeProvider#initScopes(List<IdsScope>)
.response_type=id_token
, the resulting Claims are returned in the ID Token.UserInfoEndpoint#getCurrentUserInfo(HttpServletRequest)
, Response UserInfo Claims using Scope Values.loginByUsernameAndPassword
andgetByName
methods of theIdsUserService
interface, and add theclientId
parameter, which can be used to distinguish multi-tenant scenariosPR
This discussion was created from the release v1.0.2.
Beta Was this translation helpful? Give feedback.
All reactions