IdentityServer4 icon indicating copy to clipboard operation
IdentityServer4 copied to clipboard

Add usercode and url to DeviceAuthorizationSuccessEvent

Open Brunni opened this issue 5 years ago • 3 comments

I want to show a notification on my main application, when a new device registers via the device workflow.

In this notification, I want to allow the user to directly open the browser to access the IdS-Page to allow this device.

For this, I implemented a custom event sink (IEventSink) and wait for the DeviceAuthorizationSuccessEvent to be fired. When it is fired, I can create the notification.

But: I cannot include the URL because I would need the URL or at least the usercode to send the user to the correct page.

My suggestion: Adding the user code, VerificationUri and VerificationUriComplete would allow this use case.

Brunni avatar Nov 06 '20 18:11 Brunni

why is this a bug?

leastprivilege avatar Nov 16 '20 09:11 leastprivilege

I gutess it is not a bug. Does this mean, that PR won't get merged because of the current situation, right?

Brunni avatar Nov 18 '20 12:11 Brunni

We need to discuss this internally. I just wondered why you filed a bug...

leastprivilege avatar Nov 18 '20 14:11 leastprivilege