Try with
https://mysite.example.com:443/cas/oauth2.0/callbackAuthorize <https://mysite.example.com/cas/oauth2.0/callbackAuthorize>? client_name=XXXXXXX& client_id=OAuthApp& redirect_uri=http://www.example.com/sp& response_type=code as serviceId El miércoles, 28 de febrero de 2018, Andy Ng <[email protected]> escribió: > Hi Manfredo, > > I have the custom theme loaded no problem without oauth, is just that when > I do it with oauth, setting the theme seems like a difficult task. > > -Andy > > On Wednesday, 28 February 2018 11:55:23 UTC+8, Manfredo Hopp wrote: >> >> open browser developper tool to see if itheme gets loaded >> >> El miércoles, 28 de febrero de 2018, Man H <[email protected]> >> escribió: >> >>> Cant you just build a simple webapp with index.html >>> >>> El miércoles, 28 de febrero de 2018, Andy Ng <[email protected]> >>> escribió: >>> >>>> Thanks Manfedo, >>>> >>>> Do you mean that I should: >>>> - Redirect user to login using Non Oauth Service first (with theme) >>>> - Then redirect user to login using Oauth Service for actual Oauth login >>>> >>>> Am I correct? >>>> >>>> I would prefer not to do the above, since that mean the service >>>> provider need to change their code, but if needed I think the above is >>>> still feasible, thanks Manfedo. >>>> >>>> I would like to see if there are a solution that, to not use non oauth >>>> login first. Thanks. >>>> >>>> -Andy >>>> >>>> On Wednesday, 28 February 2018 11:26:24 UTC+8, Manfredo Hopp wrote: >>>>> >>>>> Try to.load that theme on a regular service, that is non oauth >>>>> >>>>> El miércoles, 28 de febrero de 2018, Andy Ng <[email protected]> >>>>> escribió: >>>>> >>>>>> Hi all, >>>>>> >>>>>> I am using CAS 5.2.x, and using OAuth for one service provider. The >>>>>> provider now would like to have a custom theme. >>>>>> >>>>>> I thought I can just do this: >>>>>> >>>>>> { >>>>>> "@class" : "org.apereo.cas.support.oauth. >>>>>> services.OAuthRegisteredService", >>>>>> "clientId": "OAuthApp", >>>>>> "clientSecret": "xxxxxxxxxxxxxx", >>>>>> "serviceId" : "^http://www.example.com/sp.*", >>>>>> "name" : "OAuthApp", >>>>>> "id" : 1000, >>>>>> "evaluationOrder" : 1000, >>>>>> "supportedResponseTypes" : [ "java.util.HashSet", [ "code" ] ], >>>>>> "supportedGrantTypes" : [ "java.util.HashSet", [ >>>>>> "authorization_code" , "refresh_token"] ], >>>>>> "theme" : "awesome_theme" >>>>>> } >>>>>> >>>>>> >>>>>> >>>>>> However it seems that the service the returned service is the below: >>>>>> >>>>>> https://mysite.example.com:443/cas/oauth2.0/callbackAuthorize? >>>>>> client_name=XXXXXXX& >>>>>> client_id=OAuthApp& >>>>>> redirect_uri=http://www.example.com/sp& >>>>>> response_type=code >>>>>> >>>>>> >>>>>> So the *theme *will not load. So my question is, is it possible for >>>>>> me to make custom theme for my OAuth SP provider? >>>>>> >>>>>> Thanks in advance! >>>>>> >>>>>> - Andy >>>>>> >>>>>> -- >>>>>> - 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/3fa4 >>>>>> db3b-f7e5-4751-8ba6-f3ee872f0f16%40apereo.org >>>>>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/3fa4db3b-f7e5-4751-8ba6-f3ee872f0f16%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/ap >>>> ereo.org/d/msgid/cas-user/66302352-d0d5-40fe-803e-5d01101a48 >>>> 73%40apereo.org >>>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/66302352-d0d5-40fe-803e-5d01101a4873%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/34df67cc-57aa-436a-90ef- > be8643a385fa%40apereo.org > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/34df67cc-57aa-436a-90ef-be8643a385fa%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/CAMY5mid1rLzGy-2ZGdy-87%2B8QjA942nbPEuUGwB1NjgB2tzZSA%40mail.gmail.com.
