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

Can't confirm new account on self-hosted portal #1034

Closed
hugofdsantos opened this issue Nov 16, 2020 · 6 comments · Fixed by #1045
Closed

Can't confirm new account on self-hosted portal #1034

hugofdsantos opened this issue Nov 16, 2020 · 6 comments · Fixed by #1045
Assignees
Labels
P0 Critical issues. (t) Bug Bug reports (actual behavior is different than the expected behavior).

Comments

@hugofdsantos
Copy link

Bug description

When self-hosting the portal a user is unable to confirm account.

The developer tools in Firefox show that a request to the management api fails with a 400 error (blocked by CORS policy).

Reproduction steps

  1. Go to the homepage
  2. Click on 'Sign Up'
  3. Fill in and create an account.
  4. Open link in email
  5. Browser shows the signup page again.

Expected behavior

User gets a message with the confirmation of his account.

Is your portal managed or self-hosted?

Self-hosted

Release tag or commit SHA (if using self-hosted version)

release 2.5.3, commit afa75bd9d558d4f41ec98d75d2fb30104e659caf

Environment

  • Operating system: Windows
  • Browser: Firefox
  • Version: 82.0.3

Additional context

The New developer account confirmation template is configured as:
https://[storageaccountname].z15.web.core.windows.net/signup?$ConfirmQuery

Besides that, i've already configured the CORS policies in storage account as mentioned in wiki section of self hosting the portal.

CORS error when trying to activate accounts:

image

@mikebudzynski
Copy link
Contributor

@hugbro Can you please share your service name here or via an email to apimportalfeedback@microsoft.com?

@mikebudzynski mikebudzynski added the Response needed Issues, which require a response from the author. label Nov 18, 2020
@hugofdsantos
Copy link
Author

@hugbro Can you please share your service name here or via an email to apimportalfeedback@microsoft.com?

Service name: hwkstg-apim

Thanks.

@mikebudzynski mikebudzynski added P1 High-priority issues. and removed Response needed Issues, which require a response from the author. labels Nov 18, 2020
@mikebudzynski
Copy link
Contributor

Thanks, we'll look into the issue.

@hugofdsantos
Copy link
Author

Just complementing it, I tested other versions and the most recent one that worked was 2.4.2.

@mikebudzynski mikebudzynski added P0 Critical issues. (t) Bug Bug reports (actual behavior is different than the expected behavior). and removed P1 High-priority issues. labels Nov 20, 2020
@mikebudzynski
Copy link
Contributor

mikebudzynski commented Nov 24, 2020

This issue is affecting self-hosted portals only. The fix is already committed in the master branch and will soon be published with the 2.5.5 release.

@cyc4
Copy link

cyc4 commented Dec 15, 2020

Hello @mikebudzynski mikebudzynski
My customer cannot update their code base currently since their production environment will freeze for a while.
Is there any other workaround suggested without updating to latest release(2.5.5). Such as updating templates as a workaround?
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P0 Critical issues. (t) Bug Bug reports (actual behavior is different than the expected behavior).
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants