Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offline user invite flow is not working #22437

Closed
lashinijay opened this issue Jan 25, 2025 · 0 comments
Closed

Offline user invite flow is not working #22437

lashinijay opened this issue Jan 25, 2025 · 0 comments

Comments

@lashinijay
Copy link
Contributor

Description

Offline user invite is failing with a 500 server error. The following stack trace can be seen.

[2025-01-25 20:09:03,031] [8f551589-5beb-4447-b23c-c10552aecbca] ERROR {org.wso2.carbon.identity.api.dispatcher.core.DefaultExceptionMapper} - Server encountered an error while serving the request. java.lang.NullPointerException
	at org.wso2.carbon.identity.application.authentication.framework.config.ConfigurationFacade.buildUrl(ConfigurationFacade.java:346)
	at org.wso2.carbon.identity.application.authentication.framework.config.ConfigurationFacade.buildUrl(ConfigurationFacade.java:337)
	at org.wso2.carbon.identity.application.authentication.framework.config.ConfigurationFacade.getAccountRecoveryEndpointPath(ConfigurationFacade.java:236)
	at org.wso2.carbon.identity.user.onboard.core.service.password.ResetLinkGenerator.generateResetLink(ResetLinkGenerator.java:89)
	at org.wso2.carbon.identity.user.onboard.core.service.UserOnboardCoreServiceImpl.generatePasswordResetLink(UserOnboardCoreServiceImpl.java:36)
	at org.wso2.carbon.identity.api.user.onboard.v1.service.OfflineInviteLinkService.generatePasswordURL(OfflineInviteLinkService.java:73)
	at org.wso2.carbon.identity.api.user.onboard.v1.impl.OfflineInviteLinkApiServiceImpl.generateLink(OfflineInviteLinkApiServiceImpl.java:51)
	at org.wso2.carbon.identity.api.user.onboard.v1.OfflineInviteLinkApi.generateLink(OfflineInviteLinkApi.java:74)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Steps to Reproduce

Add a new user.
Invite user to set the password online.
https://localhost:9443/api/users/v1/offline-invite-link is failing with 500 server error.

Version

7.1.0

Environment Details (with versions)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

3 participants