Sam Tay 054351139f Update openid example (#2474) 1 éve
..
.cargo 054351139f Update openid example (#2474) 1 éve
src 054351139f Update openid example (#2474) 1 éve
.gitignore b836851d02 Add openidconnect authentication demo (#1500) 1 éve
Cargo.lock 054351139f Update openid example (#2474) 1 éve
Cargo.toml 054351139f Update openid example (#2474) 1 éve
Dioxus.toml 8eda67ecb2 added hot-reload as config option with default to true (#2024) 1 éve
README.md 054351139f Update openid example (#2474) 1 éve

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 url
  • DIOXUS_FRONT_CLIENT_ID: The openid-connect's client id
  • DIOXUS_FRONT_CLIENT_SECRET: The openid-connect's client secret
  • DIOXUS_FRONT_URL: The url the frontend is supposed to be running on, it could be for example http://localhost:8080