inps-it / spidlibraryandroid Goto Github PK
View Code? Open in Web Editor NEWSPIDlibraryAndroid is a library for logging in via SPID through several different identity providers.
License: BSD 3-Clause "New" or "Revised" License
SPIDlibraryAndroid is a library for logging in via SPID through several different identity providers.
License: BSD 3-Clause "New" or "Revised" License
Visto che c'e' la libreria sia per iOS che per Android sarebbe utile una libreria scritta in Dart che include i due pacchetti iOS e Android tramite MethodChannel oppure proprio una implementazione completa, considerata anche la possibilita' di includere un pacchetto flutter nello sviluppo di altre app.
SPIDlibraryAndroid/spid/src/main/AndroidManifest.xml
Lines 14 to 17 in 7389606
Hello there,
First off, apologies that I do not speak Italian, I hope Google Translate will be helpful if needed. I noticed that this library specifies some attributes within the <application>
tag of the AndroidManfiest.xml
file. I don't believe this should be done as it could cause manifest merge issues when referenced in apps that specify those same attributes.
Buongiorno a tutti,
stiamo appunto cercando di integrare in un’app android questo SDK per autenticarsi tramite SPID.
Ho inserito l’SDK nella nostra app e sono riuscita ad avviare la procedura di autenticazione, che però termina con un errore di tipo SPID_CONFIG_ERROR.
Questo è sicuramente dovuto al fatto che dal materiale che finora sono riuscita a reperire non mi è chiaro come impostare i due URL richiesti nella configurazione di base come da codice sottostante.
val spidConfig = SpidParams.Config(
"https://<insert the auth url here>", // TODO
"https://<insert the callback url here>", // TODO
60 )
Non mi è chiaro esattamente quale dato vada inserito qui, immagino siano quelli appunto per effettivamente gestire la richiesta/risposta di autenticazione, ma non è chiaro come eventualmente ottenere o configurare questi URL o se ve ne sono alcuni di test da poter utilizzare.
Ringrazio tutti anticipatamente.
Eleonora
Buongiorno a tutti,
implementando la libreria all'interno della mia app, ad un certo punto mi richiede che la mia app abbia il tema Material Component o essere parent di tale tema.
Vorrei sapere se è possibilie eliminare questa condizione, perchè ovviamente la mia app è già sviluppata con un tema suo
Grazie.
Buongiorno a tutti.
Io ho integrato la libreria in Android e l'ho richiamata utilizzando Java.
Il problema che sto riscontrando è che al momento che clicco su un qualsiasi IdentityProvider, non si apre la Webview e ricevo direttamente GENERIC_ERROR.
"D/MainActivity: onActivityResult: GENERIC ERROR SpidResult(spidEvent=GENERIC_ERROR, spidResponse=null)"
Essendo un errore molto vago non so dove possa essere il problema. Avete avuto esperienze simili ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.