Hi Ian,

Thank you for the response.


1.       Is adding “cas-server-support-oauth-webflow” the only change you made 
to the CAS build?


2.       Are these the “angular-oauth2-oidc” properties you set?

this.oauthService.redirectUri = window.location.origin;
this.oauthService.clientId = [oauth client id from management services service 
definition];
this.oauthService.scope = "profile email voucher";
this.oauthService.issuer = "https://[cas server]/cas/oauth2.0/default";
this.oauthService.oidc = false;

-Gary

From: [email protected] <[email protected]> On Behalf Of Ian Wright
Sent: Tuesday, March 12, 2019 2:54 AM
To: CAS Community <[email protected]>
Subject: [cas-user] Re: interfacing CAS with angular 7 applications

Short answer is yes.

I'm currently using
"angular-oauth2-oidc": "^4.0.3",

with CAS 5.3.7

I'm using oauth rather than oidc, mainly because I wanted to bypass the 
approval prompt which, at least when I tried it, could be configured for oauth 
but not oidc but IIRC oidc worked fine.

On Monday, 11 March 2019 18:03:54 UTC, maxwell_g wrote:
Has anyone been successful at setting up  “angular-oauth2-oidc” library to 
interface with CAS? We are currently using version CAS 5.2.2 and would like to 
authenticate Angular 7 applications using Oauth and OpenId connect. Would the 
“angular-oauth2-oidc” component be compatible or is there alternative?

Thanks Gary
--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/f38bc4f7-59e8-4441-acf5-af490c8adcfe%40apereo.org<https://groups.google.com/a/apereo.org/d/msgid/cas-user/f38bc4f7-59e8-4441-acf5-af490c8adcfe%40apereo.org?utm_medium=email&utm_source=footer>.

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/DM6PR03MB4299B66214B0482BE210FB4895490%40DM6PR03MB4299.namprd03.prod.outlook.com.

Reply via email to