mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-25 21:50:20 +00:00
8636ada3a4
* Add a deprecation warning for the resource option in dioxus.toml * fix name of resource config * fix tab spacing issue --------- Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com> |
||
---|---|---|
.. | ||
.cargo | ||
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
Dioxus.toml | ||
README.md |
OpenID Connect example to show how to authenticate an user
The environment variables in .cargo/config.toml
must be set in order for this example to work.
Once they are set, you can run dx serve --platform web
or dx serve --platform desktop
.
Environment variables summary
DIOXUS_FRONT_ISSUER_URL
: The openid-connect's issuer urlDIOXUS_FRONT_CLIENT_ID
: The openid-connect's client idDIOXUS_FRONT_CLIENT_SECRET
: The openid-connect's client secretDIOXUS_FRONT_URL
: The url the frontend is supposed to be running on, it could be for examplehttp://localhost:8080