Skip to content

Conversation

@adombeck
Copy link
Contributor

@adombeck adombeck commented Jan 6, 2026

TODO: GDM doesn't show it

Corresponding broker PR: ubuntu/authd-oidc-brokers#825

UDENG-8534

@adombeck
Copy link
Contributor Author

adombeck commented Jan 6, 2026

@3v1n0 this is the WIP branch to show a message when device authentication is required because the device registration setting was changed. On the command-line it looks like this:

Screenshot

Do you think it's feasible to also show the message in GDM in the near future (i.e. in time for the upcoming authd release)?

@3v1n0
Copy link
Contributor

3v1n0 commented Jan 13, 2026

Do you think it's feasible to also show the message in GDM in the near future (i.e. in time for the upcoming authd release)?

Oh, I can try... I think it would come in the form of a notification pop-up, given that we already have the QR code showing otherwise.

Comment on lines +212 to +215
var msgPtr *string
if msg != "" {
msgPtr = &msg
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it's time to move ptrValue outside the _test.go code?


view := viewBuilder.String()

if m.currentSession != nil && m.currentSession.getAuthenticationModesMessage != "" {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not forget the native model (for ssh and friends) too :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right. The GDM part is much more important though, without it it doesn't make sense to merge this IMO. If you get the GDM part done, I can implement the missing parts for the native model.

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

Successfully merging this pull request may close these issues.

3 participants