- Notifications
You must be signed in to change notification settings - Fork927
chore: add refresh token and error to user's external auth page#13380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
I like the idea, but using the refresh icon directly on top of the provider icon does not have enough contrast so you can wrap it with a circular badge like the following image. You can look at theMUI Badge docs, and how they can be styled, andused with other elements. As a secondary option, that does not look that good compared with the first option, you can use pills close to the action button. |
6293c33
intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Closes#13381
What this does
We have 2 fields,
has_refresh_token
andvalidate_error
on external authentication links that are not being exposed to the UI. Multiple users have asked how to determine if refresh tokens are being returned from the IDP.This allows more user self serve for debugging.
has_refresh_token
iconA little "refresh" icon shown as an avatar badge with tooltip if the link has a refresh token.
Validate error
Displays the error below the link. (Ignore my typo of "Refresh")
Future work
Can probably be styled better in the future.