Identityserver4: Blazor Example

Created on 11 Feb 2019  路  9Comments  路  Source: IdentityServer/IdentityServer4

Is your feature request related to a problem? Please describe.

There should be an example how to authenticate an user and properly store user credentials with Blazor in the IdentityServer4.Samples project.

Describe the solution you'd like

  • a minimal IdentityServer OAuth server (single hardcoded user)
  • a Blazor client application (using Implicit Grant)
  • a example hello-world API (using Client Credentials)

Those three could be implemented as a single application using different routes.

Describe alternatives you've considered

  • none

Additional context

question

All 9 comments

Good idea. Please go ahead and create that sample.

That being said - implicit is deprecated. Client creds don't make sense to me.

Would authorization code with PKCE be more appropriate if Implicit is not recommended?

when I have my next project that uses OAuth, I intend to do so. However, currently I am working at a couple of other projects, so I don't have the time right now. 馃槗

Understood. But please don鈥檛 hesitate in the future to tell us what we should do..

I've put in a pull request with a Sample for this feature request. Note that the logout redirect will not function until a modification is made to the demo server.

@stermic2 I have logout working fine (Blazor server-side) against the demo server, repo here.

I was thinking about offering it as a PR sample until I saw the Feb 12 comment.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings