use std::collections::HashMap; use crate::app::Unauthenticated; use crate::common::UserClaims; use crate::components::{Loading, MultiEntry, MultiEntryData, MultiEntryMember, OutlinedTextField, ValueType}; use leptos::leptos_dom::logging::console_log; use leptos::prelude::*; use leptos_oidc::{Algorithm, AuthLoaded, AuthSignal, Authenticated, LogoutLink}; #[component] pub fn ProviderEntry() -> impl IntoView { let auth = use_context::().expect("Couldn't find auth signal"); let auth_data = auth .get() .authenticated() .and_then(|data| data.decoded_access_token::(Algorithm::RS256, &["account"])); let multi_entries: RwSignal> = RwSignal::new(vec![]); console_log(format!("User claims: {auth_data:?}").as_str()); view! ( "Sign out"

This is the provider entry page

It would usually have a series of questions that we ask the providers

// Much of this is just a placeholder.

This is an example of the multientry element.

) }