cvasilak / KeycloakDemo

AeroGear example to authorize with Keycloak
Other
1 stars 1 forks source link

why pipe request require authentication every time #1

Open learner-harsh opened 9 years ago

learner-harsh commented 9 years ago

I want single time authentication for get data from api. According to current approach it redirect to authentication(on Browser) every time.

cvasilak commented 9 years ago

@learner-harsh unfortunately this demo was created a long time and uses a now deprecated aerogear-ios library so it's possible to come up with a bug if you use the example against a latest keycloak version.

That said, I would suggest to have a look at our latest library developments that provide support for Keycloak (as well as FB and Google) in the form of our aerogear-ios-oauth2 library (in Swift). Here is a list of resources that you may find useful to get you started:

Our OAuth2 guide with Keycloak specific information: https://aerogear.org/docs/guides/security/oauth2-guide/

Our 'Shoot' cookbook example demonstrating authentication against Keycloak as well as Google and FB https://github.com/aerogear/aerogear-ios-cookbook/tree/master/Shoot

Hope that helps