angular-auth-oidc-client icon indicating copy to clipboard operation
angular-auth-oidc-client copied to clipboard

[Question]: Can I use this lib without "OIDC"?

Open Chris81T opened this issue 5 months ago • 0 comments

What Version of the library are you using? I'm using version ^18.0.1 with Angular ^18.2.0.

Question I want to use with my angular app two different external provided api's (over which I have no influence). Both of them are using OAuth 2 for auth. In order not to implement the entire OAuth workflow myself, I looked for existing Angular libraries and came across these.

After I integrated the lib and adjusted the configuration, I fail when using the first external API because the GET request ".../.well-known/openid-configuration" returns a 404 not found.

I then contacted API support to see if there was an alternative URL for the "well-known" request, but all I received was the answer:

"At this time our API only supports Oauth2.0 for authentication, if possible we recommend moving forward with Oauth2 and the PKCE flow for authorization."

Is there a way to use this lib so that it only handles the "plain" OAuth PKCE flow without OpenID Connect?

If it's possible, what exactly would I need to do to achieve this?

Thank you for the support!

Chris81T avatar Sep 17 '24 20:09 Chris81T