-
Oct 24th, 2012, 05:46 AM
#1
Does Spring-Oauth2 support multiply servers?
Does Spring-Oauth2 support multiply servers?
We have more several servers to publish our Oauth2 provider web application, and we have already found some problems on it:
1, In memory Authorization code store service is broken, We have to switch to JDBC way, I think it can work then.
2, If we use round-robin load balance to forward HTTP request on our servers, users always get the wrong pages after they login, then don't get "Authorize" page but another index.jsp or else. How can we deal with it?
Any answer will be appreciated.
Regards.
-
Oct 24th, 2012, 10:32 AM
#2
There are plemty of answers to these questions on the forum if you search backwards a bit. JdbcTokenStore is the only solution provided out of the box, but it's certainly not the only way to distribute the encoding and decoding of tokens. If you need multiple auth servers you will need an AuthorizationCodeServices implementation with shared storage or similar (again JDBC is provided out of the box), and either sticky sessions or a custom implementation of SessionAttributeStore.
-
Oct 25th, 2012, 04:47 AM
#3
Thnx.
JDBC Code service and token store can be a possible solution, and also I will search for more answers.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules