Page 1 of 1

Authenticating using OpenID

Posted: Sat Sep 22, 2007 6:03 am
by kkonline
feyd | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]


I used the phpMyID downloaded from siege.org and can successfully
login and logout.

But how to point so that a particular page requires authentication
and if authenticated then only display the page content


[syntax="html"]
<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
   <link rel="openid.server"
href="http://mysite.org/phpMyID-0.6/MyID.config.php">
   <link rel="openid.delegate"
href="http://mysite.org/phpMyID-0.6/MyID.config.php">
</head>

<body>
Display only if authenticated
</body>

</html>
Currently it displays the content without any authentication


feyd | Please use[/syntax]

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]