phac-nml / irida-next

IRIDA Next
https://phac-nml.github.io/irida-next/
Apache License 2.0
8 stars 3 forks source link

add custom text to signin success/failure popup #517

Closed JeffreyThiessen closed 6 months ago

JeffreyThiessen commented 6 months ago

What does this PR do and why?

Describe in detail what your merge request does and why. When a user logs in, it should show the custom authentication label instead of the underlying omni auth type.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other pull requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edit your config/authentication/auth-config.yml to have custom values.

example:

development:
  omniauth_providers: [developer]
  developer_text: 'my custom authenticator'

See here for detailed instructions: https://github.com/phac-nml/irida-next/pull/420

Sign in and verify that the popup shows your custom text. image

PR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

github-actions[bot] commented 6 months ago

Simplecov Report

Covered Threshold
92.32% 90%