0

Working on a jhipster project and love it. Its fantastic.

I am wondering if its possible to have both session based and x-auth-token or oauth together ?

We want our users to be able to access the the web interface but also call the API from server code.

Thanks

David Gildea
  • 153
  • 1
  • 7

1 Answers1

0

If there any reason not to have web and API access via existing OAuth2 - see an example here: jhipster oauth : How can i get the access_token via CURL

Community
  • 1
  • 1
Rori Stumpf
  • 1,912
  • 19
  • 26
  • Just the complexity mainly, OAuth can be complex for old fashioned backend systems and I want to make things as simple as possible. I have checked and the x-auth-token works for the frontend site as well. Thanks – David Gildea Feb 10 '15 at 19:45