Skip to content

Login refactored : Fixes #3 #5#7

Merged
antoineatstariongroup merged 1 commit intodevelopmentfrom
feat/GH3-login
Aug 8, 2022
Merged

Login refactored : Fixes #3 #5#7
antoineatstariongroup merged 1 commit intodevelopmentfrom
feat/GH3-login

Conversation

@antoineatstariongroup
Copy link
Copy Markdown
Contributor

Prerequisites

  • I have written a descriptive pull-request title
  • I have verified that there are no overlapping pull-requests open
  • I have verified that I am following the UI-DSM code style guidelines
  • I have provided test coverage for my change (where applicable)

Description

Fixes #3 #5

  • The authentication is provided by the UI-DSM server.
  • JWT is store on the SessionStorage to persist the authentication to the server.

@antoineatstariongroup
Copy link
Copy Markdown
Contributor Author

image


builder.Services.AddScoped(_ => new HttpClient
{ BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });
{ BaseAddress = new Uri("https://localhost:7032/api/") });
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Are you sure? Hard coded instead of an Environment setting?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'll put it on the Environnement for the next PR

@antoineatstariongroup antoineatstariongroup merged commit 89ad1c1 into development Aug 8, 2022
@antoineatstariongroup antoineatstariongroup deleted the feat/GH3-login branch December 12, 2022 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Persist authentication The user should be able to login

3 participants