stratospheric
stratospheric copied to clipboard
Collaborator - user not able to login to accepts the invite.
What's going wrong and not working?
Steps:
- User A invites user B (Actions, click user B on drop down)
- User A sees "You successfully shared your todo with the user B . Once the user accepts the invite, you'll see them as a collaborator on your todo."
- User B got email notification:
- Hi user B
someone shared a Todo from https://app.stratospheric.dev/ with you.
Information about the shared Todo item:
Title: Let's build Description: Let's build the document Priority: LOW
You can accept the collaboration by clicking this link: https://app.stratospheric.dev/todo/1/collaborations/2/confirm?token=f59f6892-d4c2-4374-803a-540e42fae860
- When B user accept by click the link, it takes to cognito login.
- User B try to login with correct crendential, but always came back as user name password not correct.
How do I trouble shoot the problem? What would be the problem.
Thanks Kind regards, Stratospheric
Expected outcome
User B should be able to authenticated and authorized to accept invitation.
On application.yaml, the external_url is set to: custom: invitation-codes: DUKE, HELLO_WORLD, STRATOSPHERIC # TODO: outsource them -> e.g. env variable or database sharing-queue: stratospheric-todo-sharing external-url: https://app.devops.prime-video.amazon.dev/
public TodoSharingListener( MailSender mailSender, TodoCollaborationService todoCollaborationService, @Value("${custom.auto-confirm-collaborations}") boolean autoConfirmCollaborations, @Value("${custom.confirm-email-from-address}") String confirmEmailFromAddress, @Value("${custom.external-url}") String externalUrl) { this.mailSender = mailSender; this.todoCollaborationService = todoCollaborationService; this.autoConfirmCollaborations = autoConfirmCollaborations; this.confirmEmailFromAddress = confirmEmailFromAddress; this.externalUrl = externalUrl; }
Why TodoSharingListener.listenToSharingMessages() got https://app.stratospheric.dev/ instead of https://app.devops.prime-video.amazon.dev/
No response