AspNet5IdentityServerAngularImplicitFlow | OpenID Connect Code Flow PKCE / Implicit Flow | Authentication library
kandi X-RAY | AspNet5IdentityServerAngularImplicitFlow Summary
kandi X-RAY | AspNet5IdentityServerAngularImplicitFlow Summary
OpenID Connect Code Flow PKCE / Implicit Flow with Angular and ASP.NET Core 6 IdentityServer4
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of AspNet5IdentityServerAngularImplicitFlow
AspNet5IdentityServerAngularImplicitFlow Key Features
AspNet5IdentityServerAngularImplicitFlow Examples and Code Snippets
Community Discussions
Trending Discussions on AspNet5IdentityServerAngularImplicitFlow
QUESTION
I am new to OpenID and Angular, and am trying to make use of the angular-auth-oidc-client
package. There are some great examples by damienbod and elanderson, but I can't even seem to get off the starting block.
After installing the package, all I have to do is inject the OidcSecurityService
- I don't have to use it even - and I am getting a runtime error:
ANSWER
Answered 2018-Jan-20 at 01:27OK. I think I see where I went wrong. The samples are good, but they have enough complexity that that I didn't consider that the AuthModule
was part of the package. I thought it was something the samples build around the package. The brief example in the angular-auth-oidc-client README set me on the right track
So AuthModule
needs to be imported (my larger, real project did), but it also needs a call to AuthModule.forRoot()
to be included in the AppModule
imports
metadata (my larger, real project did not).
So with those updates, app.module.ts
now looks like this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install AspNet5IdentityServerAngularImplicitFlow
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page