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

  • Home
  • SEARCH
  • 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 3937500
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T00:04:34+00:00 2026-05-20T00:04:34+00:00

I am developing the authentication part of my app and I’ve run into issues

  • 0

I am developing the authentication part of my app and I’ve run into issues with coding authentication using OpenID.

I’ve looked at the Tipfy example code, but it seems written under the assumption that the OpenID provider is hard-coded to google.

I would like the user to be able to provide any OpenID they desire (isn’t that the point?).

Does anyone have any example code that shows a user logging in using a user-supplied OpenID?

  • 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-05-20T00:04:34+00:00Added an answer on May 20, 2026 at 12:04 am

    Does Tipfy allow any OpenID authentication?

    If you want to authenticate any OpenID Url with Tipfy, you can’t do it out of the box.
    One main reason is because Tipfy does not have any discovery mechanism to retrieve the OpenID Endpoint from a given OpenID user url.

    What Tipfy is missing?

    Tipfy does not allow the point b. of the following workflow :
    a. user submits foo.blogspot.com
    b. the framework retrieves foo.blogspot.com getting the OpenId endpoint from the html page:

    <link rel="openid.server" href="http://www.blogger.com/openid-server.g" />
    

    c. the framework redirects the user to the remote login page.

    What Tipfy really offers?

    The Tipfy openid extension* simply offers the OpenIdMixin that is just a base class useful for building OpenID support to a specific platform (Google for example).
    Indeed, GoogleMixin class extends OpenIdMixin:

    class GoogleMixin(OpenIdMixin, OAuthMixin):
        """A :class:`tipfy.RequestHandler` mixin that implements Google OpenId /
        OAuth authentication.
    

    and it has the Google OpenID endpoint hard-corded:

    _OPENID_ENDPOINT = 'https://www.google.com/accounts/o8/ud'
    

    The name OpenIdMixin is a little bit misleading near other classes names like GoogleMixin, FriendFeedMixin, FaceBookMixin etc. etc;
    the docstring should be more clear to specify that the class should just be extended as a base class and not used directly.

    What do you need to support any OpenID url in your application using Tipfy?

    You should use the same consumer userland library that Google App Engine has adopted to offer OpenID support; here the source code and here a live example.

    In the specific, have a closer look to openid.consumer.consumer.py file and how the XRDS/OpenID discovery happens; I think that with some work, you should be able to integrate this part into Tipfy OpenIdMixin.

    * the OpenID code is ported from tornado.auth

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

Sidebar

Related Questions

I'm using the RESTful authentication Rails plugin for an app I'm developing. I'm having
I'm developing a web application and I need to mix Forms & Windows authentication
Developing websites are time-consuming. To improve productivity, I would code a prototype to show
Developing a website and just trying to get back into the swing of (clever)
Developing server side code i finally got my eyes X-crossed trying to write -
Developing a .NET WinForms application: how can I check if the window is in
Developing a heavily XML-based Java-application, I recently encountered an interesting problem on Ubuntu Linux.
When developing a desktop application in .NET, is it possible to not require the
When developing whether its Web or Desktop at which point should a developer switch
When developing a new web based application which version of html should you aim

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.