Access to OpenID claims data?

I’ve been testing with the OpenID plugin, which made it real easy to connect to our central authentication service. What I’m wondering about is if there’s any way to use the provided claims data per account in Discourse? Initially just to view the claims values per account in Discourse (e.g. check the type of account, teacher versus student).

I’ve read Managing group membership via authentication - #30 by david, which goes a little bit towards automated group membership, but it seems experimental and only for a specific Google OpenID-based service. So for now I’m mostly looking for a way to inspect claims data in Discourse.

1 Like

You should be able to use the Data Explorer plugin to inspect the data. OpenID Connect data is all stored in the user_associated_accounts table

3 Likes