Skip to content

feat(dashboard,api-service): add self-hosted-auth #7755

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

Open
wants to merge 51 commits into
base: next
Choose a base branch
from

Conversation

djabarovgeorge
Copy link
Contributor

@djabarovgeorge djabarovgeorge commented Feb 20, 2025

What changed? Why was the change needed?

  • Create System User
  • Create a mock clerk library
  • Auto generate self-hosted jwt token

docs update

Screenshots

Expand for optional sections

Related enterprise PR

Special notes for your reviewer

Copy link

netlify bot commented Feb 20, 2025

Deploy Preview for dev-web-novu ready!

Name Link
🔨 Latest commit 2b694ce
🔍 Latest deploy log https://app.netlify.com/sites/dev-web-novu/deploys/67b82ccab692160008da4e54
😎 Deploy Preview https://deploy-preview-7755.dashboard.novu-staging.co
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Feb 20, 2025

Deploy Preview for dashboard-v2-novu-staging failed. Why did it fail? →

Name Link
🔨 Latest commit 4899262
🔍 Latest deploy log https://app.netlify.com/sites/dashboard-v2-novu-staging/deploys/681201642c3d7b0008c78bce

… and streamline logMeIn method in AuthController, fix clerk mock
Comment on lines +21 to +26
FROM alpine:latest
RUN apk add --no-cache busybox
WORKDIR /www
COPY --from=builder /usr/src/app/apps/dashboard/build /www
EXPOSE 80
CMD ["busybox", "httpd", "-f", "-p", "80"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@merrcury @djabarovgeorge remind, me how is the user going to modify the dashboard .env variables when starting this docker? For example changing the API_ROOT to his own domain after deploying, etc..

<div>
<div className="flex flex-col items-center gap-1">
<p className="text-text-soft text-label-xs mb-3 text-center">
Unlock more environments and enhance your productivity
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Unlock more environments and enhance your productivity
To create additional custom environments, upgrade your plan.

@@ -106,7 +108,7 @@ const router = createBrowserRouter([
children: [
{
path: ROUTES.WELCOME,
element: <WelcomePage />,
element: IS_SELF_HOSTED ? <Navigate to={ROUTES.ROOT} replace /> : <WelcomePage />,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason of why not keeping it? I think it might be helpful for onboarding, even on OSS. Wdyt?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to revisit and restructure this page, some elements only partially make sense in the current context. For example, having both “Create Account” and “Invite Member” feels a bit out of place.
I’m not against having them, but we haven’t had a proper discussion around this yet.
A cleaner approach could be to focus on more actionable, relevant items like: "Create Workflow" "Add Inbox to Your App"
image

Let me know what you think. Open to feedback or other suggestions on how to streamline this page.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i brought it back without the non-relevant steps, and the get started on the footer is back as well.
image

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

Successfully merging this pull request may close these issues.

3 participants