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

OnSuccess not intercepted #8

Open
ambr89 opened this issue Oct 8, 2024 · 1 comment
Open

OnSuccess not intercepted #8

ambr89 opened this issue Oct 8, 2024 · 1 comment

Comments

@ambr89
Copy link

ambr89 commented Oct 8, 2024

Buongiorno,

ho implementato SPIDlibraryAndroid per la mia app.

Ho impostato:

val spidConfig = SpidParams.Config(
                    "https://<my auth url here>", 
                    "https://<my callback url here>", 
                    180
    ) 

Se imposto SpidParams con dati errati, ricevo correttamente uno spidResult.spidEvent con SPID_CONFIG_ERROR.
Se durante il login annullo l'operazione, ricevo correttamente l'evento di USER_CANCELLED.
Ma se completo il login correttamente, vengo reindirizzata verso la pagina di "my callback URL" con una pagina web che il plugin apre sulla mia app senza intercettare alcun SpidEvent.SUCCESS.

Dov'è il problema?
Cosa devo impostare nella callback URL affinchè venga intercettato correttamente?

@ambr89 ambr89 changed the title OnSuccess non intercettato OnSuccess not intercepted Oct 8, 2024
@StefanoVicini
Copy link
Member

Buongiorno, verifichi che la sua pagina di callback restituisca correttamente dei cookie validi perché solo in questo caso si riceverà
SpidEvent.SUCCESS

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

2 participants