mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-12 23:47:16 +00:00
b836851d02
* Add openidconnect authentication demo * use_atom_ref usage to have a read/write handle on the atom * Use default * Code rewrite to better reflect the authentication flow * Use the env macro instead of the build.rs to load env variables * Add env variables * Remove unnecessary dependency * Add env variables to the root workspace * Update readme * Bump openidconnect version * Use props to pass the client to the child components * Code clean up --------- Co-authored-by: Truong Tan Dat <truongt@igbmc.fr>
47 lines
727 B
TOML
47 lines
727 B
TOML
[application]
|
|
|
|
# dioxus project name
|
|
name = "OpenID Connect authentication demo"
|
|
|
|
# default platfrom
|
|
# you can also use `dioxus serve/build --platform XXX` to use other platform
|
|
# value: web | desktop
|
|
default_platform = "web"
|
|
|
|
# Web `build` & `serve` dist path
|
|
out_dir = "dist"
|
|
|
|
# resource (static) file folder
|
|
asset_dir = "public"
|
|
|
|
[web.app]
|
|
|
|
# HTML title tag content
|
|
title = "OpenID Connect authentication demo"
|
|
|
|
[web.watcher]
|
|
|
|
index_on_404 = true
|
|
|
|
watch_path = ["src"]
|
|
|
|
# include `assets` in web platform
|
|
[web.resource]
|
|
|
|
# CSS style file
|
|
style = []
|
|
|
|
# Javascript code file
|
|
script = []
|
|
|
|
[web.resource.dev]
|
|
|
|
# Javascript code file
|
|
# serve: [dev-server] only
|
|
script = []
|
|
|
|
[application.plugins]
|
|
|
|
available = true
|
|
|
|
required = []
|