Update provider_name on custom SAML2 Provider login page
Problem Statement
In getsentry/sentry code base, Is there a way to change the login button label for custom SAML2 ? For now I can only see that it is being returned as object in auth_provider file
organization-login.html
<span class="provider-logo {{ provider_key }}"></span> Login with {{ provider_name }}
auth_provider.py
return {
"id": str(obj.id),
"provider_name": obj.provider,
"pending_links_count": pending_links_count,
"login_url": absolute_uri(login_url),
"default_role": organization.default_role,
"require_link": not obj.flags.allow_unlinked,
"scim_enabled": bool(obj.flags.scim_enabled),
}
This would only mean that it is being fetched from the source getsentry/self-hosted DB
Solution Brainstorm
It would be great if we can just specify in config of getsentry/self-hosted something like
provider.name: "Esttablishment name"
You could probably set it manually in your database, right? Did you try that?
You could probably set it manually in your database, right? Did you try that?
I did tried to update the sentry_authprovider table matching saml2 but it is causing error or am I updating the wrong one ?
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
Did you have any luck with this @chriscupas?
Did you have any luck with this @chriscupas?
@chadwhitacre not yet ... I am thinking of updating the core https://github.com/getsentry/sentry that can accept options, but don't know where to start.
Any pointers here, @getsentry/enterprise?
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
Will be looking to work on this next week and see what I can do ... but initial plan will still be the same for updating the core. @chadwhitacre I will be happy for any input from you. Thank you. :)
Ooh, nice! Can you paste a screenshot for me of where this would change so I can wrap my head around the ask here?
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀