1
0
Jonathan Kelley 6818bbe10a Make use_future take an impl FnMut + 'static, don't include router prelude when we don't need to 1 жил өмнө
..
src 6818bbe10a Make use_future take an impl FnMut + 'static, don't include router prelude when we don't need to 1 жил өмнө
.gitignore b836851d02 Add openidconnect authentication demo (#1500) 1 жил өмнө
Cargo.toml ab1fab5f50 No publish demos 1 жил өмнө
Dioxus.toml b836851d02 Add openidconnect authentication demo (#1500) 1 жил өмнө
README.md b836851d02 Add openidconnect authentication demo (#1500) 1 жил өмнө

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(if this example is just being compiled from the root workspace, the .cargo/config.toml from the root workspace must be set as stated in the Cargo book).

Once they are set, you can run dx serve

Environment variables summary


DIOXUS_FRONT_CLIENT_ID``` The openid-connect's client id

DIOXUS_FRONT_URL The url the frontend is supposed to be running on, it could be for example http://localhost:8080