Skip to content
This repository has been archived by the owner on Feb 3, 2024. It is now read-only.

Improve Login Experience #3150

Merged
merged 1 commit into from
Nov 16, 2022
Merged

Conversation

jrjohnson
Copy link
Member

I've aligned our configuration with the frontend to remove token refresh and updated the login itself to use the token we pass and not a refreshed version. We still attempt to use the token to get a new token to ensure the passed token is valid and when there are errors in that process they will now display correctly.

I've aligned our configuration with the frontend to remove token refresh
and updated the login itself to use the token we pass and not a
refreshed version. We still attempt to use the token to get a new token
to ensure the passed token is valid and when there are errors in that process they will now
display correctly.
@jrjohnson jrjohnson marked this pull request as ready for review November 16, 2022 08:05
@jrjohnson jrjohnson requested a review from stopfstedt November 16, 2022 08:05
this.session.authenticate(authenticator, { jwt: obj.jwt });
this.session.authenticate(authenticator, { jwt: this.jwt });
} else {
this.error = await response.text();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@stopfstedt stopfstedt merged commit 281c2b3 into ilios:master Nov 16, 2022
@jrjohnson jrjohnson deleted the improved-common-auth branch November 16, 2022 18:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants