views:

20

answers:

1

how to get end point url of a openid provider like for google if we get from https://www.google.com/accounts/o8/id or for yahoo it is http://me.yahoo.com .Similarly , for others how to find this information.

A: 

Go to the web site in question and look through their docs. There's no authoritative or complete list of OP Identifiers.

Andrew Arnott
so in order to discover open id provider end point url i have to find end point url and store in databse or use if and else .
Niraj Choubey
I don't know why you'd use if/else here. Typically you don't store this information at all and let the user type it in. If you want to offer buttons to the user to make it easier, you can just write the HTML for the buttons that include these OP Identifiers. I've never heard of a reason to include them in a database -- unless perhaps it was a data-driven security filter to only let in only approved OP endpoints.
Andrew Arnott