571851cee3
* adds error handling to auth-jwt component for missing roles and fixes bug where role wasn't being retained when using alternate oidc mount path at login * fixes jwt login bug from auth mount tabs and adds test * updates okta-number-challenge success value to arg in template * adds changelog entry * fixes issues logging in manually with jwt * reverts mistaken change
38 lines
1.5 KiB
Handlebars
38 lines
1.5 KiB
Handlebars
<div class="auth-form" data-test-okta-number-challenge>
|
|
<div class="box is-marginless is-shadowless">
|
|
<div class="field has-top-margin-xs">
|
|
<p data-test-okta-number-challenge-description>
|
|
To finish signing in, you will need to complete an additional MFA step.</p>
|
|
{{#if @hasError}}
|
|
<div class="has-top-margin-s">
|
|
<MessageError @errorMessage="There was a problem" />
|
|
<button
|
|
type="button"
|
|
class="button"
|
|
{{on "click" @onReturnToLogin}}
|
|
data-test-return-from-okta-number-challenge
|
|
>Return to login</button>
|
|
</div>
|
|
{{else if @correctAnswer}}
|
|
<div class="has-top-margin-s">
|
|
<p class="has-text-black has-text-weight-semibold" data-test-okta-number-challenge-verification-type>Okta
|
|
verification</p>
|
|
<p data-test-okta-number-challenge-verification-description>Select the following number to complete verification:</p>
|
|
<h1
|
|
class="title has-font-weight-normal has-top-margin-m has-bottom-margin-s"
|
|
data-test-okta-number-challenge-answer
|
|
>{{@correctAnswer}}</h1>
|
|
</div>
|
|
{{else}}
|
|
<div class="has-top-margin-l has-bottom-margin-m">
|
|
<div class="is-flex-row">
|
|
<FlightIcon @name="loading" />
|
|
<div class="has-left-margin-xs">
|
|
<p data-test-okta-number-challenge-loading>Please wait...</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
</div> |