You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wouldn't really recommend CAS for APIs. I'd think you'd be much better off with oAuth or JWTs or something like that. CAS is really designed around a browser and user interaction as you've seen with the redirects and other components of the spec.
Yes, you right but I haven't mentioning the context: the API is used by a Single Page Application, so I only need to handle the redirect with javascript. Now I'm playing with ignore 401, I will update the issue if I find something that works.
Hi,
Someone is using this gem with Rails API? it's possibile to return 403 instead of a redirect to cas login page if not logged in?
The text was updated successfully, but these errors were encountered: