grafana / grafana/authlib

AuthInfo: Add a way to extract subject from service

Open
#139 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
15
Forks
4
PR merge metrics
No merged PRs in 30d

Description

If we build `AuthInfo` from access token and id token it is not possible to get subject from the access token. Because we always return claims from id token.

It is convenient to have a way to have a guaranteed way to get subject form access token:

See:
https://github.com/grafana/authlib/pull/113#issuecomment-2498944058

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.