Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need information regarding configuration required #2

Open
BhosaleNikhil opened this issue Nov 2, 2021 · 2 comments
Open

Need information regarding configuration required #2

BhosaleNikhil opened this issue Nov 2, 2021 · 2 comments

Comments

@BhosaleNikhil
Copy link

  1. The documentation here mentions that we are supposed to provide authPageUrl, callbackPageUrl and queryStringParams. What is the purpose of these, can you please elaborate in detail?
  2. We are supposed to add Identity Providers ids (example aruba, infocert etc). How to obtain these ids? Are they unique for everyone who wants to integrate SPID in their app or we need to contact these Identity Providers in order to obtain ids?
@dbattinelli
Copy link
Member

Hi Nikhil,
this SDK works with a SPID web application which must already exist on your service provider and must be federated with the various Identity Providers.

authPageUrl: it is the SPID login URL of the service provider
queryStringParams: these are the parameters needed for authPageUrl (e.g., id of the Identity Providers)
callbackPageUrl: it is the redirect URL called after finishing the login process

  1. Identity Providers ids are defined by the service provider web application, and they must be the same.

@hank93939
Copy link

Ciao Daniele, potresti farmi un'esempio un po più dettagliato?
Dove posso ottenere questi 3 link?
static let authPageUrl = ""
static let callbackPageUrl = ""
static let queryStringParams = ""

per gli identityprovider invece questo codice è corretto?

struct IdentityProvider {
static let aruba = "https://loginspid.aruba.it"
static let etna = "https://id.eht.eu"
static let infocamere = "https://loginspid.infocamere.it"
static let infocert = "https://identity.infocert.it"
static let intesi = "https://idp.intesigroup.com"
static let lepida = "https://id.lepida.it/idp/shibboleth"
static let namirial = "https://idp.namirialtsp.com/idp"
static let poste = "https://posteid.poste.it"
static let sielte = "https://identity.sieltecloud.it"
static let spiditalia = "https://spid.register.it"
static let teamsystem = "https://spid.teamsystem.com/idp"
static let tim = "https://login.id.tim.it/affwebservices/public/saml2sso"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants