Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9216393
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T02:24:29+00:00 2026-06-18T02:24:29+00:00

I want to implement OAuth server on my PHP server, which dosent have a

  • 0

I want to implement OAuth server on my PHP server, which dosent have a SSL connection. There’s no decent OAuth 2 framework for PHP-codeigniter yet. So which one should I use OAuth1 or OAuth2 ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T02:24:30+00:00Added an answer on June 18, 2026 at 2:24 am

    The short answer is: you should consider using OAuth 1.0a [1] rather than OAuth 2.0

    The long answer is below:

    OAuth 2.0 by default requires the use of SSL/TLS for transport layer security. Therefore, when implementing an OAuth 2.0 compliant Authorization Server, you need to allow client applications to connect to the Authorization Endpoint as well as Token Endpoint over a secure channel. See the following sections in the OAuth 2.0 specification [2]:

    3.1 (Authorization Endpoint)

    "[…] the authorization server MUST require the use of TLS as described in Section 1.6 when sending requests to the authorization endpoint."

    3.2 (Token Endpoint)

    "[…] the authorization server MUST require the use of TLS as described in Section 1.6 when sending requests to the token endpoint."

    In your case, when you do not have an SSL connection, you can still possibly consider using OAuth 2.0 and the MAC Access Authentication [3], which specifies how to make OAuth 2.0 requests by issuing MAC-type access tokens. Such tokens are cryptographically signed with a shared symmetric key (key is shared between the client application and the server).

    IMPORTANT NOTE: In such setup, however, you will still need to provide a mechanism for clients to be able to establish a shared secret with your OAuth 2.0 server in a secure way (how this is done is up to you – can be over some SSL channel or out-of-band, depending on your exact use cases). This is a strict requirement to allow clients to securely access protected resources!

    "The MAC scheme requires the establishment of a shared symmetric key
    between the client and the server. This specification offers one
    such method for issuing a set of MAC credentials to the client using
    OAuth 2.0 in the form of a MAC-type access token.

    The primary design goal of this mechanism is to simplify and improve
    HTTP authentication for services that are unwilling or unable to
    employ TLS for every request. In particular, this mechanism leverage
    an initial TLS setup phase to establish a shared secret between the
    client and the server. The shared secret is then used over an
    insecure channel to provide protection against a passive network
    attacker."

    Based on the above explanation, I would consider using OAuth 1.0a [3], which does not require the use of a transport-level security for communication between the client and Authorization Server (OAuth 1.0a uses the term "Service Provider", btw). Instead, it relies on messages being signed using a shared symmetric key (or an RSA key). However. please note that unless you use signatures using HMAC-SHA1 or RSA-SHA1 (i.e. you decide to use the PlAINTEXT signature type), you will need to use SSL/TLS anyway.

    [1] https://www.rfc-editor.org/rfc/rfc5849

    [2] https://www.rfc-editor.org/rfc/rfc6749

    [3] https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-http-mac-01

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i starter in jqgrid, i want implement inline edit in jqgrid i have this
I want to implement an application which will work as a parser. User will
I want to implement OAuth/OpenID for Website One and use it in Website Two
Is there a way to implement oAuth flow without actually launching browser or even
I want to implement role based login using oauth with facebook, twitter, google etc.
I have a Web Service, Now I want to implement security model for that,
I want to implement single User OAuth in android side or in other words
I have a RESTful webservice which communicates over HTTPS. I want to prevent other
QuickBook OAuth docs and API. I want to implement OAuth for Quickbooks. I am
i am developing an application in Struts2, in which i want to implement authentication

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.