Not receiving user attributes from CAS server #121
-
Hello, I have been attempting to follow your instructions to fit it to work with an MVC Application (.net core 6) and i am having problems. I got the set up for I also create a AccountController (also in stackoverflow code) and it works in development (local deploy) but fails in remote.
but i feel like i am missing adding the identity and Claims and sign in, can you help me figure out what I am doing wrong for the remote (NON DEVELOPMENT) section thanks |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
Hi @mahmoudaudu, First of all, this package is acted as a CAS client, not a CAS server Please make sure you have a running CAS server configured to allowed your MVC application (eg: https://localhost:5001) to sign in. You can check out this sample and change the If the sample not working as expected, please provide the exception message or captured screenshot. Hope this information can help. |
Beta Was this translation helpful? Give feedback.
-
Good day Thank you for the quick response, let me clarify further my app points to our CAS server, my app or machine is NOT the CAS server. It opens the CAS Page and I log in then it redirects to the and as I mentioned above the only command I call is
I think this is wrong or I am missing pieces (please let me know if you want to see what my anyway this is my errror stack Category: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware An unhandled exception has occurred while executing the request. Exception: |
Beta Was this translation helpful? Give feedback.
-
Oh I forgot to ask, I noticed in the thank you so much for this |
Beta Was this translation helpful? Give feedback.
-
Thank you so much for your help we solved the problem, the issue was our protocol was 2 and we had it set to 3 in our app |
Beta Was this translation helpful? Give feedback.
Thank you so much for your help we solved the problem, the issue was our protocol was 2 and we had it set to 3 in our app