Hello there,
I am trying to implement the a device registration scenario,
the user clicks Login
a webview is opened to login using Authorization code with PKCE flow
after a successful login and right before issuing a token
if used device is already registered for user
then we issue a token & authenticate the user
else
we abort the login process, redirect the user to device registration cycle
after completing the device registration, we redirect him back to login
currently, the device registration cycle is implemented in the webview
the question is; is there a way to close the webview (without access token object) and return an error to the user along with some info (user id, device id, tenant id, etc ...) to be able to go through device registration cycle from mobile side
Hello there, I am trying to implement the a device registration scenario,
Authorization code with PKCE
flowcurrently, the device registration cycle is implemented in the webview the question is; is there a way to close the webview (without access token object) and return an error to the user along with some info (user id, device id, tenant id, etc ...) to be able to go through device registration cycle from mobile side
thanks in advance