DioxusLabs / DioxusLabs/dioxus

Hot dog tutorial encourages hard coding credentials

Open
#4,787 0 comments 3 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
39.1k
Forks
1.9k
Avg merge
4d 10h
Merged PRs (30d)
4

Description

**Problem**

Hot dog tutorial, in explaining the client/server split, suggests that it's good practice to hardcode credentials in server code.

**Steps To Reproduce**

Steps to reproduce the behavior:

- https://dioxuslabs.com/learn/0.6/guide/backend#the-clientserver-split

**Expected behavior**

Either use a different example, or add a note linking to best practices for handling credentials explaining you shouldn't do this anyway. Preferably the former for lack of ambiguity

**Screenshots**

Image

**Environment:**

- Dioxus version: 0.6.3

**Questionnaire**

I don't have time to fix this right now, but maybe later.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.